3 ms·
Can you elaborate on unicorn being expensive with 1.9.2 in comparison to thin? IIRC they're both using the prefork model, so shouldn't they have roughly the sa
by moe 16y ago
Can you elaborate on unicorn being expensive with 1.9.2 in comparison to thin?
IIRC they're both using the prefork model, so shouldn't they have roughly the same COW/GC issues?
- sgrove 16y agoI 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.