Re: [akka-user] Re: How to measure performance of Actor Message from one actor reaching to another actor

2017-12-15 Thread Viktor Klang
Also, is serialization/deserialization included? At what point does the timer clock start, and when does it stop? -- Cheers, √ On Dec 15, 2017 20:31, "Patrik Nordwall" wrote: > What are you interested in? Throughput (msg/s) or latency (us)? Remote or > local? What

[akka-user] How to measure performance of Actor Message from one actor reaching to another actor

2017-12-15 Thread kpritam
Hello, I want to measure a performance of following use case using jmh. 1. Actor A sends Msg A to Actor B 2. On receiving Msg A, Actor B

Re: [akka-user] Turn a flow to a route

2017-12-15 Thread haghard
Can you give me an advice how to set up a test. I have a custom stage upfront of my main Flow[HttpReq, HttpRes]. How can I include this stage in my test ? пятница, 15 декабря 2017 г., 13:00:48 UTC+1 пользователь haghard написал: > > Hello Konrad, having a flow I wanted to use it to set up a

Re: [akka-user] Turn a flow to a route

2017-12-15 Thread Konrad Malawski
I think you’re misunderstanding something. Akka HTTP can convert a route to a Flow (the inverse of what you said), and an opposite transformation is not in general possible. What specifically are you trying to achieve? -- Konrad Malawski On December 15, 2017 at 12:51:34, haghard

Re: [akka-user] Turn a flow to a route

2017-12-15 Thread Konrad Malawski
(My bad about reading your statement, you wrote it right — it is true though that the inverse conversion simply is not possible in general) -- Konrad Malawski On December 15, 2017 at 12:51:34, haghard (haghar...@gmail.com) wrote: > Hello everybody, > akka-http has a way to turn a route into a

Re: [akka-user] Turn a flow to a route

2017-12-15 Thread haghard
Hello Konrad, having a flow I wanted to use it to set up a test with akka-http-testkit. пятница, 15 декабря 2017 г., 12:55:51 UTC+1 пользователь Konrad Malawski написал: > > (My bad about reading your statement, you wrote it right — it is true > though that the inverse conversion simply is

[akka-user] Re: How to measure performance of Actor Message from one actor reaching to another actor

2017-12-15 Thread kpritam
Ok, I just looked at TellOnlyBenchmark.scala closely and it just drops all the message and does not take into consideration of time taken by message to reach receiving actor. On Friday,

Re: [akka-user] Re: How to measure performance of Actor Message from one actor reaching to another actor

2017-12-15 Thread Akka Team
I think the floodPipe benchmark may do what you want, commented out but you could easily uncomment and run locally: https://github.com/akka/akka/blob/master/akka-bench-jmh/src/main/scala/akka/actor/ForkJoinActorBenchmark.scala#L92 -- Johan Akka Team On Fri, Dec 15, 2017 at 11:20 AM,

[akka-user] Turn a flow to a route

2017-12-15 Thread haghard
Hello everybody, akka-http has a way to turn a route into a flow but I cannot find how to go in another direction (from a flow to a route) Thanks -- >> Read the docs: http://akka.io/docs/ >> Check the FAQ: >>

Re: [akka-user] Re: How to measure performance of Actor Message from one actor reaching to another actor

2017-12-15 Thread Patrik Nordwall
What are you interested in? Throughput (msg/s) or latency (us)? Remote or local? What will the results of the benchmarks be used for? /Patrik fre 15 dec. 2017 kl. 12:23 skrev Akka Team : > I think the floodPipe benchmark may do what you want, commented out but > you