[akka-user] about joinSeedNodes call

2015-04-30 Thread Andrey Ilinykh
Hello everybody! I'm confused by akka documentation. It says Unsuccessful join attempts are automatically retried after the time period defined in configuration property retry-unsuccessful-join-after. When using seed-nodes this means that a new seed node is picked. When joining manually or prog

[akka-user] Akka HTTP (Scala) 1.0-RC[12]: Processor actor terminated abruptly

2015-04-30 Thread Samuel Tardieu
Hi. With akka http 1.0-RC2 (was similar in 1.0-RC1), one of my program signals an intermittent error that I do not understand. The context: one HTTP GET request is sent out, the JSON response is properly received, decoded and acted upon, and then the system terminates with (system being my ActorS

[akka-user] Re: Triggering an Akka Actor if a REST action is successful

2015-04-30 Thread Nweike Onwuyali
Thanks On Thursday, April 30, 2015 at 8:38:26 AM UTC+1, Nweike Onwuyali wrote: > > I am using Play Controller action to make a REST call. But on success of > that call, i want to Trigger a service implemented as a Akka Actor. > > Below is my code for making the REST call with a controller action.

[akka-user] Re: Triggering an Akka Actor if a REST action is successful

2015-04-30 Thread Nweike Onwuyali
Thanks Chanan, yes it is a fire and forget singleton. if i put this code at the comment // Trigger Akka Actor Servicet: myActor.tell("Some Message or Some Class", ActorRef.noSender()); Will it process as non blocking without using another map function? On Thursday, April 30, 2015 at 8:38:26 AM UT

[akka-user] Re: Triggering an Akka Actor if a REST action is successful

2015-04-30 Thread Chanan Braunstein
Yes, that is correct. "tell" is asynchronous and will return right away. What ever process you kicked off will run in the background. On Thursday, April 30, 2015 at 11:17:23 AM UTC-4, Nweike Onwuyali wrote: > > Thanks Chanan, > yes it is a fire and forget singleton. > if i put this code at the

[akka-user] Re: Triggering an Akka Actor if a REST action is successful

2015-04-30 Thread Chanan Braunstein
Is it a fire and forget action? Is the Actor a "singleton" or a per request actor? Here is code for a fire and forget singleton: At the top of your controller add: private static final ActorRef myActor = Akka.system().actorOf(Props.create(MyActorClass.class), "MyActorName"); Then where your c

[akka-user] Akka Streams & HTTP 1.0-RC2 Announcement

2015-04-30 Thread Konrad Malawski
Dear Hakkers, we—the Akka committers—are happy to announce the second Release Candidate for Akka Streams & HTTP. This release updates Akka Streams to use the *1.0.0 final* version of the Reactive Streams interfaces in order to allow inter-op with various other implementations. An announcement

Re: [akka-user] Re: Akka Remote - High latency when start sending messages

2015-04-30 Thread 刘澜涛
Can you tell me some possible reasons of this high latency period? I'll try to figure out which of them is the real reason. It is not because the endpointwriter buffers messages when connection builds up. I have tested sending message slower and then speed up, there was also the high latency pe

Re: [akka-user] Re: Akka Remote - High latency when start sending messages

2015-04-30 Thread 刘澜涛
I use default java serialization. It is said to be very slow. But I don't quite understand, could it cause this weird phenomenon? 在 2015年4月27日星期一 UTC+8上午1:45:22,Patrik Nordwall写道: > > > > On Fri, Apr 24, 2015 at 5:18 AM, 刘澜涛 > > wrote: > >> Is this related to AdaptiveReceiveBufferSizePredictor

[akka-user] Memory Issues in Akka/Spray application

2015-04-30 Thread Arpit Rajpurohit
I have build spray service which would run in 2 8GB Boxes . It receives Json every 5 seconds which would get converted to MyJsonMessage .Each MyJsonMessage will contain 3000 MyObjects. So 3000 MyObjects would get created every 5 seconds. Internally I am using batching to process these 3000 ob

Re: [akka-user] Re: Cluster failure tolerance

2015-04-30 Thread Konrad Malawski
Thanks for reporting! Yes, we did include some bugfixes in those areas in the .9 and .10 releases, glad it helps! --  Cheers, Konrad 'ktoso’ Malawski Akka @ Typesafe On 30 April 2015 at 09:36:11, Kai Yu (niels.henric.a...@gmail.com) wrote: It turned out, the issues I encountered are specific to

[akka-user] Triggering an Akka Actor if a REST action is successful

2015-04-30 Thread Nweike Onwuyali
I am using Play Controller action to make a REST call. But on success of that call, i want to Trigger a service implemented as a Akka Actor. Below is my code for making the REST call with a controller action. I need help how to insert the code to trigger the service on the Akka Actor public st

[akka-user] Re: Cluster failure tolerance

2015-04-30 Thread Kai Yu
It turned out, the issues I encountered are specific to version 2.3.8. Everything works as expected in 2.3.10. -- >> Read the docs: http://akka.io/docs/ >> Check the FAQ: >> http://doc.akka.io/docs/akka/current/additional/faq.html >> Search the arc