I want to build a service that will be able to handle:
My understanding of a pre-fork server is that something like the following happens:
What I want to understand is what happens if, in my Flask code, when handling the request, I have this:
from multiprocessing import pool as ProcessPool
with ProcessPool(4) as pool:
pool.map(some_expensive_function, some_data)
In particular: