Re: [akka-user] ActorSystem and system.dispatcher, can those be used globally?

2017-12-23 Thread Patrik Nordwall
It’s fine (and best) to use one single ActorSystem. For the blocking you have to use a dedicated dispatcher as described in https://doc.akka.io/docs/akka/current/dispatchers.html#blocking-needs-careful-management An ActorSystem can have several dispatchers. /Patrik ons 13 dec. 2017 kl. 17:14 skrev

[akka-user] ActorSystem and system.dispatcher, can those be used globally?

2017-12-13 Thread 'Kostas kougios' via Akka User List
Hi, We use Guice and we got an AkkaModule that creates an ActorSystem and a Materializer that can later on be injected to other classes. I wonder if there is a problem with that. My assumption is that if uses of the actor system, materializer and dispatcer (used as ExecutionContext for Future's