Re: [akka-user] Performance of Akka-Http 2.5.4

2017-08-11 Thread Konrad “ktoso” Malawski
When wanting to discuss any benchmarks, please share actual code as otherwise it's impossible to comment on what you're actually benchmarking. Same goes for benchmark setup, you did not explain how the benchmark was run and what network it was on etc. We have continuously confirmed same

[akka-user] Performance of Akka-Http 2.5.4

2017-08-11 Thread Jakub Kahovec
Hi, we've done recently a little research regarding the performance of current JVM based HTTP servers (and Nginx for comparison) and as regards the results of Akka-Http we were rather unpleasantly surprised. Here are the presumptions for the benchmark: - Single handler handling GET

Re: [akka-user] Restarting Akka Actor with a new State

2017-08-11 Thread Akka Team
Hi Joe, Watching the child actor before stopping it will give you a Terminated message which will let you know that the child terminated, so that you can start a new one. If the id and powerPlantCfg is needed when starting anew you can put that in the actor state, as a map for keyed by the child