Thread management for Akka actors -


i have 32 actors running @ time 24 threads. first 24 actors gets 24 available threads. remaining 8 threads execution threads termination of 1 of 24 actors.

can please point me how change dedicated thread option per actor shared one.

thanks, cabear

this how actor scheduling works - should read on akka dispatchers better understanding of it.

in 1 sentence though: actors multiplexed onto threads. means multiple actors using same thread, not @ same time - works this: actor has messages process, gets thread t1, processes number of messages (set throughput setting in dispatchers), , lets go of thread t1 such actor b can use t1 again. if there's more threads available t2 used in same style, allowing multiple actors run in parallel.


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -