There are many parallel requests coming to one erlang OTP (gen_server) process. One process is not sufficient to handle this. I can have fix number pool of same processes to handle this using Poolboy or worker_pool.
But I dont want to have fix set of process pool. I want to create dynamically Process to handle that activity and get killed once it done its work.
So I will be having N numbers of active process for N parallel request. and than it get killed once that process complete the processing.
How I can achieve this?