Re: [akka-user] Re: Akka Persistent Actor stops processing messages

2017-01-17 Thread Patrik Nordwall
I think the bottleneck is the serialization or the writes to Cassandra, both happening in the Cassandra journal (akka-persistence-cassandra). Are you using the latest version of akka-persistence-cassandra? Such things should run on cassandra-plugin-default-dispatcher or cassandra-plugin-blocking-di

Re: [akka-user] Persisting entirely in JSON

2017-01-17 Thread Alan Burlison
On 17/01/2017 06:49, Patrik Nordwall wrote: Or I could just save the required fields as an outer JSON 'wrapper' over the application event that's been serialized, perhaps? Yes, that sounds good for Json. Thanks, good to know I'm not completely off base :-) That doesn't seem to be possible

[akka-user] Define a SupervisorStrategyConfigurator

2017-01-17 Thread Kilic Ali-Firat
Hi guys, After reading more the documentation about the fault tolerance in Akka, I'm trying to a define a new guardian supervisor strategy like below : package foo import akka.actor.{OneForOneStrategy, SupervisorStrategy, SupervisorStrategyConfigurator} import akka.actor.SupervisorStrategy.{D

[akka-user] Re: Define a SupervisorStrategyConfigurator

2017-01-17 Thread Rafał Krzewski
foo.Foo.ResumeSupervisorStrategy is an inner class, so I would expect a mangled name, like foo.Foo$ResumeSupervisorStrategy but it would be the best if you checked the actual classes folder to make sure. cheers, Rafał W dniu wtorek, 17 stycznia 2017 16:35:07 UTC+1 użytkownik Kilic Ali-Firat na

[akka-user] Re: Define a SupervisorStrategyConfigurator

2017-01-17 Thread Kilic Ali-Firat
Yes thanks for the fix ! Le mardi 17 janvier 2017 19:12:48 UTC+1, Rafał Krzewski a écrit : > > foo.Foo.ResumeSupervisorStrategy is an inner class, so I would expect a > mangled name, like foo.Foo$ResumeSupervisorStrategy but it would be the > best if you checked the actual classes folder to make

Re: [akka-user] Exception when AKKA cluster haven't setup

2017-01-17 Thread Dai Yinhua
2.4.12, by the way, this happened when I debug from eclipse On Tuesday, 17 January 2017 14:06:36 UTC+8, Patrik Nordwall wrote: > > Akka version? > > tis 17 jan. 2017 kl. 02:53 skrev Dai Yinhua >: > >> Hi, >> >> I was running a akka cluster, but when I start only one instance of the >> akka appli

Re: [akka-user] Exception when AKKA cluster haven't setup

2017-01-17 Thread Dai Yinhua
2.4.12, by the way, this happened when I debug from eclipse On Tuesday, 17 January 2017 14:06:36 UTC+8, Patrik Nordwall wrote: > > Akka version? > >> >> -- >> Read the docs: http://akka.io/docs/ >> Check the FAQ: >> http://doc.akka.io/docs/akka/current/addition

[akka-user] Does akka-http-spray-json result in tostring() function during scala case class to json transition?

2017-01-17 Thread Leo Wolf
Hi there, I use akka-http-spray-json for json marshalling/unmarshalling. Then I see a interesting result when I recording server performance as following picture: