In my project, I have defined groups of
Actors called cells. Those cells process
messages and operate basic calculations of some different kinds, one kind by small
What is the advantage(s) of growing those small
Actors, then killing them once the job is done, rather than creating them on my cell initialization, roaming till
Best How To :
If you'll crate one actor per job, you'll get parallel processing of messages, while if you'll create actor on initialization, you messages of the same type will be processed one by one.
Usually, you shouldn't use actors for parallel execution of your programm, their task is to process common resources, like incrementing counters in multi threaded programm. If you want parallel processing of messages, use futures