Re: [akka-user] Ask a lot of Actors inside an Iteration in an Akka-Scheduler and wait for reply of everyone results in a stop of actor-system and webserver

2017-09-15 Thread 'Simon Jacobs' via Akka User List
ee this section of the docs for more info: > http://doc.akka.io/docs/akka/current/java/dispatchers.html#problem-blocking-on-default-dispatcher > > -- > Johan > Akka Team > > > On Fri, Sep 8, 2017 at 10:00 AM, 'Simon Jacobs' via Akka User List < > akka...@googlegroups.com

[akka-user] Ask a lot of Actors inside an Iteration in an Akka-Scheduler and wait for reply of everyone results in a stop of actor-system and webserver

2017-09-08 Thread 'Simon Jacobs' via Akka User List
Hy there, I have an akka scheduler to reindex some data in the search-engine and to resize the images of every user. It will be called directly by system.scheduler().scheduleOnce(FiniteDuration.create(Long.valueOf(1), TimeUnit.SECONDS), reindexActor, "", system.dispatcher(), null); The

Re: [akka-user] Fundamental question of actorSystem, Dependency Injection and creating actors.

2016-05-17 Thread 'Simon Jacobs' via Akka User List
s, it will be pure overhead. If you do need to fully exploit multi-core > systems then you will gain much from actors *compared to* the equivalent > hand-rolled solution using thread-pools and concurrency primitives manually. > > -Endre > > On Mon, May 9, 2016 at 5:00 PM, 'Simon Jac

[akka-user] Fundamental question of actorSystem, Dependency Injection and creating actors.

2016-05-09 Thread 'Simon Jacobs' via Akka User List
Hey guys, I'm using the play framework in version 2.5 with integrated Akka and Guice and try to implement an actor system. I have already searched inside the user group, the play, guice and akka documentation but I'm very confused about the common patterns. I have a very common use-case: I