Wow! Well written and amazing inside inside Unicorn.
Recently I was reading the internals too when doing worker prewarming. Check it out https://github.com/3scale/unicorn-prewarm
This got me thinking. Would it make sense to prewarm the app in the master? I think it is safer in the workers, but still.
This is a great post with many informative asides about the in's and outs of Unix. As a guy who can't stop looking under the hood myself, I found this to be a very palatable introduction to a lot of things I previously found to be complex. Great stuff!
I'd be most interested in how all the non-async-signal-safe calls there must be after the forks are rationalized as safe in the unicorn implementation.
This got me thinking. Would it make sense to prewarm the app in the master? I think it is safer in the workers, but still.