My application has a Actor class that process incoming data. In order to do so the class itself holds a large amount of parameters that are supplied via the constructor.
The current approach creates one Actor per data package, to process which creates a large number of actors (>500) and therefore lots of overhead.
So my question is: Is their an easy way to have a pool of N actors and auto-distribute the M data packages (M >> N) between these actors?
Thank you in advance for your answers.