Re: [akka-user] Manifest Event Sourcing Application's Performance

2014-09-14 Thread Prakhyat Mallikarjun
Hi Ivan, My bad. By socket I meant web socket. I missed out writing websocket and just wrote socket. I don't have questions on using Kamon with Spray. But how kamon will link a particular request to its corresponding asynchronous response to user browser? Consider an use case, Reactive applic

Re: [akka-user] Manifest Event Sourcing Application's Performance

2014-09-14 Thread Ivan Topolnjak
Prakhyat, if by Socket connections you mean something opening a socket to a Spray API, sending a HTTP request and getting a response back then yes, we support that. I know that our documentation still has big holes but Spray support is one of the first things we put together to make Kamon usable..

Re: [akka-user] Manifest Event Sourcing Application's Performance

2014-09-11 Thread Prakhyat Mallikarjun
Hi Ivan, Will kamon support Socket connections? Also I looked at http://kamon.io/integrations/spray/server-side/. It was TODO. for the record: Kamon does provide metrics on number of HTTP requests, average, min, max, counts per response status code and more, we don't have metrics for bytes t

Re: [akka-user] Manifest Event Sourcing Application's Performance

2014-09-11 Thread Richard Rodseth
Not sure if this helps https://github.com/erikvanoosten/metrics-scala/blob/master/docs/Actors.md On Thu, Sep 11, 2014 at 3:48 PM, Ivan Topolnjak wrote: > Prakhyat, > > for the record: Kamon does provide metrics on number of HTTP requests, > average, min, max, counts per response status code and

Re: [akka-user] Manifest Event Sourcing Application's Performance

2014-09-11 Thread Ivan Topolnjak
Prakhyat, for the record: Kamon does provide metrics on number of HTTP requests, average, min, max, counts per response status code and more, we don't have metrics for bytes transferred.. are you using Spray or Play for HTTP? we do support them! When we talk about "Trace Metrics" we talk about the

Re: [akka-user] Manifest Event Sourcing Application's Performance

2014-09-11 Thread Prakhyat Mallikarjun
Hi Todd, Thanks. I have worked on Kamon. Already deployed it and integrated with the application successfully. But Kamon will give only the metrics of the applications specific to akka actors. Kamon will not provide performance metrics when application goes through load testing. Performanc

Re: [akka-user] Manifest Event Sourcing Application's Performance

2014-09-11 Thread Todd Nist
@Prakhyat, Would a tool lik http://kamon.io help you out with gathering stats for performance analysis. There is a good post here on using it with Akka and the docker container which provides Graphite(statsd backend), Grafana (Graphite Dashb

Re: [akka-user] Manifest Event Sourcing Application's Performance

2014-09-10 Thread Prakhyat Mallikarjun
Konard, I agree with you effort is required. Glad analysis has narrowed down to one solution of using log. As always your points are really helpful. Thanks again. -Prakhyat M M On Wednesday, 10 September 2014 17:17:15 UTC+5:30, Konrad Malawski wrote: > > > It would be easier to perform this

Re: [akka-user] Manifest Event Sourcing Application's Performance

2014-09-10 Thread Konrad 'ktoso' Malawski
It would be easier to perform this using log analysis.  [Prakhyat] Yes. We have this in mind as one of the alternative. But it wont provide performance metrics. I don’t agree. You would get SOME performance metrics this way – the time from start of request to various stages of y

Re: [akka-user] Manifest Event Sourcing Application's Performance

2014-09-10 Thread Prakhyat Mallikarjun
Hi Konard, Thanks. You would have to measure time between your request, and something else being triggered. [Prakhyat] I accept this way for single request. But wrt to performance testing, with bulk of requests, its a complex task. This is not trivial and must be implemented in some way by yo

Re: [akka-user] Manifest Event Sourcing Application's Performance

2014-09-10 Thread Konrad 'ktoso' Malawski
In short: it’s harder. You cannot do this as a complete blackbox test. You would have to measure time between your request, and something else being triggered. This is not trivial and must be implemented in some way by you. No tool will magically know when your request is “done”, you need to “pin

Re: [akka-user] Manifest Event Sourcing Application's Performance

2014-09-10 Thread Prakhyat Mallikarjun
Hi Konard, Thanks for the tool. I want to understand fundamental question, how to measure performance of reactive applications(event sourcing)? Let me take an example, in reactive apps the user requests are processed asynchronously compared to traditional web apps synchronous behavior. In re

Re: [akka-user] Manifest Event Sourcing Application's Performance

2014-09-10 Thread Konrad Malawski
For end-to-end tests I have used and liked http://gatling.io a bit. For microbenchmarks (not what you need for your case IMO), I'd recommend JMH http://openjdk.java.net/projects/code-tools/jmh/ and the sbt plugin: https://github.com/ktoso/sbt-jmh Happy hakking On Wed, Sep 10, 2014 at 9:53 AM, Pra

[akka-user] Manifest Event Sourcing Application's Performance

2014-09-10 Thread Prakhyat Mallikarjun
Team, We are using akka persistence/akka sharding/akka cluster in our app. In short we are using event sourcing. Wanted to understand how Typesafe or any other akka users do the performance tests/benchmarking. I am more concerned in knowing *tools *used for creating load on system built on