I am building a webapp that upon receiving an http post request needs to do some encoding jobs.
Basically Play controller receives a media file as a request body.
Upon receiving this file it needs to pass it to an Akka Actor for further encoding.
Akka Actor will invoke an external shell process via Java Process Builder.
However in order for system to not through out of memory errors I want to make sure there is a limit on number of Active Akka instances that trigger such process.
Is there something in the framework that I can use or do I need to build from groundup?
thanks,
Sachin Walia