These are chat archives for petabridge/akka-bootcamp

20th
Aug 2015
Coinio
@Coinio
Aug 20 2015 20:00
Hi. I'm trying to compare performance of single thread/parallel version of my code against the Akka.Net version. Is there a simple way to get the elapsed time that a message sent to a router and all its child actors took to complete? If that makes sense
Aaron Stannard
@Aaronontheweb
Aug 20 2015 22:24
@Coinio you'd have to implement that yourself using a request / response message pattern
I send X to router and router forwards to all children, and I want to time it until I get N Ys back
where N = number of children
you can use Akka.Monitoring to instrument some of that, but that's more for "in production" monitoring than it is for benchmarking
it has a built-in Timer mechanism that you can use