khc
Joined 13 years ago
Joined 13 years ago
I suspect one possible outcome is many people wouldn't want to take the risk to become an executive, and the percentage of executives who wouldn't mind taking risks of going to jail will increase, which is not a desirable outcome.
1. there's a control process and worker processes
2. on upgrade, control process launches new worker processes from the new binary
3. requests are drained from old worker processes
4. most of the time nginx request handlers allocate from a per-request allocation pool, so requests mostly don't share memory
5. for the cases where there are global states, there's a separate shared memory pool that you need to allocate from (which is kind of hard to work if you are not using built-in nginx primitives)
disclaimer: works for databricks, but not on spark, and first time posting in this thread
looking for the next challenge: http://hxbc.us/resume.ml