Re: [akka-user] Serialization of ActorIdentity

2015-02-23 Thread Konrad Malawski
Hi Paul, You raise a valid point about still using java serialization in some places by default. In general we strongly advertise against using the java serializer (slow, and schema evolution hostile) - which again is the culprit here... You're right however that it's one of our internal classes

[akka-user] Reasons why Logback is recommended for Akka logging

2015-02-23 Thread Martin Ford
Hi, In the Akka documentation http://doc.akka.io/docs/akka/current/java/logging.html#logging-java Typesafe recommend using Logback as the runtime SLF4J backend logger. I'm just wondering what the reasons are for that recommendation? Can anyone enlighten me? Many thanks Martin --

[akka-user] Akka SupervisorStrategy strange behavior

2015-02-23 Thread George Lu
Dear all, For learning Akka, I wrote below in Java to test fault-tolerance. I have a master actor to assign job to worker actors, in the master actor, simply divide the job into several pieces and use round robin router to assign to workers (i.e. let workers add slices of a summation). In the

[akka-user] Re: akka-persistance - nested persist

2015-02-23 Thread Greg Young
There was some discussion about supporting a batch of events in the API a while ago. Not sure where it is in terms of implementation On Friday, February 20, 2015 at 3:51:03 PM UTC+2, Manuel Bernhardt wrote: Hi, I'm in a situation where it would be lovely to be able to do a nested persist,

Re: [akka-user] Re: Confusing problem whilst testing a PushPullStage implementation of a sliding window

2015-02-23 Thread Wolfgang Friedl
:) I try to extract a sample from my code which shows what I'm doing. At least when I call OnNext twice I'll get the following exception *java.lang.IllegalStateException: onNext is not allowed when the stream has not requested elements, totalDemand was 0* this exception I do understand. Am

[akka-user] Re: Reasons why Logback is recommended for Akka logging

2015-02-23 Thread Reid Spencer
Because it is good ? :) The author of LOG4J started over and created Logback with several key performance improvements and additional flexibility. On Monday, February 23, 2015 at 6:40:04 AM UTC-5, Martin Ford wrote: Hi, In the Akka documentation

[akka-user] Re: Reasons why Logback is recommended for Akka logging

2015-02-23 Thread Steve Fosdal
Anyone have any feedback after trying Log4J v2 with akka? -Steve On Monday, February 23, 2015 at 3:22:37 PM UTC-6, Reid Spencer wrote: Because it is good ? :) The author of LOG4J started over and created Logback with several key performance improvements and additional flexibility. On

Re: [akka-user] Performance Of Akka IO

2015-02-23 Thread Reid Spencer
Hi Adam, On Feb 23, 2015, at 4:58 PM, Adam adamho...@gmail.com wrote: I believe 50M messages per second on a single machine was mainly an example for scaling up. See the kind of machine that was used for it

Re: [akka-user] Performance Of Akka IO

2015-02-23 Thread Adam
I believe 50M messages per second on a single machine was mainly an example for scaling up. See the kind of machine that was used for it http://letitcrash.com/post/20397701710/50-million-messages-per-second-on-a-single . Anyway, have you tried doing the same analysis on the legacy driver? It

[akka-user] Scheduler State / List of scheduled and running events

2015-02-23 Thread Marco Gergele
Hello all, I am really new to Akka (from Play Framework 2.2.2, seems to be Akka 2.10?) and using it in Java. I have not found any documentation to that whole subject, so I might have gotten something quite wrong or might have been blind. I can not see a way to superwise (I have found the

Re: [akka-user] Performance Of Akka IO

2015-02-23 Thread Akka Team
Hello Reid, It seems you’re asking about performance of *akka-streams* not of *akka-io*, as seen by your mention of outgoingConnection - do not confuse these two modules. ​ The current performance of akka-streams has not been tuned at all, we know and have been quite vocal about it during it's

Re: [akka-user] Performance Of Akka IO

2015-02-23 Thread Reid Spencer
Hi Adam, Comments inline … On Feb 23, 2015, at 2:19 AM, Adam adamho...@gmail.com wrote: I think the OS you're using matters a lot for this sort of test. Hopefully it's not windows… No, it is Mac OSX Yosemite 10.10.2. I realize that absolute measurements on this kind of machine are not

Re: [akka-user] Akka Stream firstOrElse

2015-02-23 Thread Giovanni Alberto Caporaletti
Hi Roland I see! I already started building my repository - maybe I'll share it later on thanks G On Monday, 23 February 2015 07:55:31 UTC, rkuhn wrote: Hi Giovanni, stages are exactly the right approach to tackle these things: we want to avoid having a ton of combinators on the core API

[akka-user] HTTP Server backlog stats

2015-02-23 Thread Randy Fox
I am using 1.0 M3 and have a basic httpServer setup using the ActorFlowMaterializer from the api docs. As part of monitoring and alerting i would like to track the count of queued http requests at any point in time, as well as time to service a request internally. I didn't see anything and

Re: [akka-user] Re: Reasons why Logback is recommended for Akka logging

2015-02-23 Thread Will Sargent
The only thing I know about Log4J 2 is that if you use the asyncappender, it is fast. http://www.xorlev.com/blog/2013/08/11/overengineering-log4j2-s-asyncappender/ However, if you use the Logback asyncappender, it is also fast.