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

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

c# - Search and Add Comment with OpenXML for Word -