3 ms·
I'm really hoping that we'll see some REE love for 1.9, but right now they're focused on other things (rightly so). Forking unicorn workers is so expensive with
by sgrove 16y ago
I'm really hoping that we'll see some REE love for 1.9, but right now they're focused on other things (rightly so). Forking unicorn workers is so expensive without a COW-friendly GC that I've reverted back to thin.
Very happy to see development continuing, and I'll be upgrading all my 1.8.7 apps to run on this later today.
So, thanks phusion team!
- moe 16y agoCan 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.