[akka-user] Why my akka application is slow

2014-10-15 Thread Shajahan Palayil
Hi, I'm developing an akka based application using event-sourcing and CQRS. I'm using the cluster sharding feature of the contrib module, use remote, cluster modules and akka-persistence using jdbc persistence on PostgreSQL. Application has an actor hirarchy like in below diagram, where the t

Re: [akka-user] Unit testing persistent actors in Akka

2014-09-12 Thread Shajahan Palayil
ote: >>> >>> By interacting with them – same as normal Actors. >>> I would not encourage the use of TestActorRef actually - it is very >>> limiting (threading wise). >>> Simply ask the actor for what you want to know from it. >>> >>> Also, there

[akka-user] Unit testing persistent actors in Akka

2014-09-10 Thread Shajahan Palayil
How does one unit test persistent actors. I understand that there's akka-testkit which one can use to get the underlying actor object of a test actor reference like below. final TestActorRef ref = TestActorRef.create(system, props, "testA");final MyActor actor = ref.underlyingActor(); assert