4 ms·
I don't believe thin uses a pre-fork model, though I could be wrong on that account. I went through some pretty intense memory comparisons between the two over
by sgrove 16y ago
I don't believe thin uses a pre-fork model, though I could be wrong on that account. I went through some pretty intense memory comparisons between the two over the past month, I'll have to write it up tomorrow.
- moe 16y agoI looked at the Thin code again and it uses Open3 to spawn multiple instances of itself as subprocesses. Intuitively I'd expect that method to consume more Ram than forking because there's no opportunity for COW at all. However it'd be interesting to see what you measured, looking forward to your write-up if you get around to it.