When I see that: https://github.com/cirospaciari/socketify.py/blob/main/bench...
It's kind of hopeless, Python still needs to fork per core to get any performance? So if you have 8 cores you're actually running 8 processes, so 8 DB pool etc ...
It's kind of hopeless, Python still needs to fork per core to get any performance? So if you have 8 cores you're actually running 8 processes, so 8 DB pool etc ...
Running one process per core has been working well for scaling huge websites for decades at this point.