[akka-user] Akka Multithreading on Akka-Cluster

2016-09-05 Thread silvio poma
Hi All, Working on a project for a big client that want to switch from a monolithic infrastructure to a microservice one we are getting stuck in a big doubt. We are making an infrastructure where each microservice are deployed in a different container on an ECS instance, than we have the first

Re: [akka-user] Akka Multithreading on Akka-Cluster

2016-09-07 Thread silvio poma
else everything will be executed by the > same dispatcher, > which translates to having a single thread pool executor doing everything. > > http://doc.akka.io/docs/akka/2.4.10/java/dispatchers.html > http://doc.akka.io/docs/akka/2.4.10/java/routing.html > > HTH, > > G

Re: [akka-user] Akka Multithreading on Akka-Cluster

2016-09-09 Thread silvio poma
Just to be clear, my class: com.test.common.LoginRequest is formed of 4 strings and an actorRef Thanks all 2016-09-09 16:34 GMT+02:00 silvio poma <silviopom...@gmail.com>: > Right now one of the biggest and strange problem is that when arrive a > message from the Actor A i

Re: [akka-user] Akka Multithreading on Akka-Cluster

2016-09-09 Thread silvio poma
l-size-factor = 1 > pool-size-max = 8 > } > > client-socket-worker-pool { > pool-size-min = 4 > pool-size-factor = 1 > pool-size-max = 8 > } > } > > default-remote-dispatcher { > type = Dispatcher

Re: [akka-user] Akka Multithreading on Akka-Cluster

2016-09-13 Thread silvio poma
, > > Guido. > > On Wednesday, September 7, 2016 at 4:37:13 PM UTC+1, silvio poma wrote: >> >> Dear Guido, >> Thanks a lot for you answer. >> We have already improved our concurrency model, using multiple instances >> for each actor, that now work in par

Re: [akka-user] Akka Multithreading on Akka-Cluster

2016-09-14 Thread silvio poma
Hi Guido, Following the release notes i create a config file like this: "remote": { "adapters": { "gremlin": "akka.remote.transport.FailureInjectorProvider", "trttl": "akka.remote.transport.ThrottlerProvider" }, "artery": { "bind-hostname": "127.0.1.1", "enabled": "on", "hostname":

Re: [akka-user] Akka Multithreading on Akka-Cluster

2016-09-13 Thread silvio poma
the http response. Il giorno martedì 13 settembre 2016 10:42:39 UTC+2, √ ha scritto: > > What is your bottleneck? > > On Tue, Sep 13, 2016 at 10:13 AM, silvio poma <silvio...@gmail.com > > wrote: > >> Thanks guy, I eventually fixed all the configuration as you sug

Re: [akka-user] Akka Multithreading on Akka-Cluster

2016-09-09 Thread silvio poma
be careful there, I didn't mean "one dispatcher per >> actor" but more like "one dispatcher per one or more types of actors" >> >> HTH, >> >> Guido. >> >> >> On Wednesday, September 7, 2016 at 4:37:13 PM UTC+1, silvio poma wrote: &

Re: [akka-user] Akka Multithreading on Akka-Cluster

2016-09-09 Thread silvio poma
be careful there, I didn't mean "one dispatcher per >> actor" but more like "one dispatcher per one or more types of actors" >> >> HTH, >> >> Guido. >> >> >> On Wednesday, September 7, 2016 at 4:37:13 PM UTC+1, silvio poma wrote: >>>

Re: [akka-user] Akka Multithreading on Akka-Cluster

2016-09-13 Thread silvio poma
Thanks guy, I eventually fixed all the configuration as you suggested and now everything is working. I can see a big improvement in the average time of response of my service but the throughput is still the same of before. Any other suggestions, my target is to have throughput as high as