Re: [akka-user] min-nr-of-members not working?

2016-07-04 Thread Raymond Roestenburg
Ok I'll have a look, even if I set all the confs to the same minimum of 2 worker nodes, the master starts up when there are no worker nodes yet. On Mon, Jul 4, 2016 at 11:35 AM Patrik Nordwall wrote: > The sample doesn't have those settings, but i added them for two

Re: [akka-user] min-nr-of-members not working?

2016-07-04 Thread Patrik Nordwall
The sample doesn't have those settings, but i added them for two roles and I could see from the MemberUp logging that it was working mån 4 juli 2016 kl. 11:08 skrev Raymond Roestenburg < raymond.roestenb...@gmail.com>: > That does not seem to solve the issue, I'll check out the >

Re: [akka-user] Is it possible to increase the number of serialization threads?

2016-07-04 Thread Eduardo Fernandes
Yes, I definitely will give a try to Kryo serialization. Right know, despite of using standard Java serialization, we're not sending class id's over the wire since we have a morphological serialization on each class. Nevertheless the Akka itself is doing that so Kryo could provide a good

Re: [akka-user] Is it possible to increase the number of serialization threads?

2016-07-04 Thread Guido Medina
Thanks Patrik for clarifying the Artery part I had misunderstood, it is getting really close anyway which makes me *-and sure others-* happy. @Eduardo, the Kryo part will still apply, specially listing the classes as I did in my config example, I wouldn't worry much about the KryoQueueBuilder

Re: [akka-user] min-nr-of-members not working?

2016-07-04 Thread Raymond Roestenburg
That does not seem to solve the issue, I'll check out the akka-sample-cluster-scala to see what you're doing differently there.. On Sunday, July 3, 2016 at 8:45:25 PM UTC+2, Raymond Roestenburg wrote: > > Thanks Patrik, I'll try that. > > On Friday, July 1, 2016 at 8:32:27 AM UTC+2, Patrik

Re: [akka-user] Is it possible to increase the number of serialization threads?

2016-07-04 Thread Eduardo Fernandes
Ok. In our case the ack is per message... anyway I could expect a very good improvement in number of transactions upgrading to Artery. We don't need the factor 30x you have. If we have a factor 2 or 3 it would be very welcome. Thanks for the info. This numbers could help me to push it into a near

Re: [akka-user] Is it possible to increase the number of serialization threads?

2016-07-04 Thread Patrik Nordwall
On Mon, Jul 4, 2016 at 9:13 AM, Eduardo Fernandes wrote: > Wow!!! I have to try the new remoting! > > The measurement is quite basic: I have a pool of threads and I just call > the sends() and wait for the response and execute a new send. Nothing > particular. I made a simple

Re: [akka-user] Is it possible to increase the number of serialization threads?

2016-07-04 Thread Eduardo Fernandes
Wow!!! I have to try the new remoting! The measurement is quite basic: I have a pool of threads and I just call the sends() and wait for the response and execute a new send. Nothing particular. I made a simple test with the old remote and my numbers were also around 25.000 msg/s, so we agree on

Re: [akka-user] Is it possible to increase the number of serialization threads?

2016-07-04 Thread Patrik Nordwall
Then I question how you measure this in your benchmark. With old (current) remoting I have observed max throughput of 25.000 msg/s (one way) using this test: https://github.com/akka/akka/blob/artery-dev/akka-remote-tests/src/multi-jvm/scala/akka/remote/artery/MaxThroughputSpec.scala With new

Re: [akka-user] Is it possible to increase the number of serialization threads?

2016-07-04 Thread Eduardo Fernandes
Yes... 1.000.000 messages over the network (1.000.000 sent and 1.000.000 of ack's with the operation state, in this case a single echo). Sorry, I was not precise on that. We call it transaction becase we make a kind of commit in ram but in this case it is not relevant. On Mon, Jul 4, 2016 at 8:51

Re: [akka-user] Is it possible to increase the number of serialization threads?

2016-07-04 Thread Eduardo Fernandes
Many thanks Patrik. I'll share it with our dev team. I've read it when we have indeed to change our code a bit. If we can distribute the serialization across the processors I'm pretty sure we could achieve around 1.000.000 transactions/s in an 8 cores machine with 4 or 5 actors on each node. Right

Re: [akka-user] How to find Oldest node in Akka Cluster Singleton

2016-07-04 Thread Patrik Nordwall
Normally you would use the ClusterSingletonProxy, but if you want to subscribe to the membership events and sort them you can use Member. ageOrdering or isOlderThan

Re: [akka-user] Akka and Lagom

2016-07-04 Thread Patrik Nordwall
Using Akka without Lagom is not a bad decision in any way, many have successfully done that and more will continue to do so. To make the answer to your question complete I would like to add that Lagom is not only adding a high level, opinionated, API. It's also providing: - development