23 ms·
A per-process model for Ruby doesn't have to use a fuckton of memory -- with fork() & COW, the processes could easily share. Unfortunately Ruby has an awful ma
by blasdel 18y ago
A per-process model for Ruby doesn't have to use a fuckton of memory -- with fork() & COW, the processes could easily share.
Unfortunately Ruby has an awful mark-and-sweep garbage collector that writes to nearly every page on every collection, making COW useless.
- rufo 18y agoForgive me as I'm unfamiliar with lower-level details like this, but isn't this exactly what Ruby Enterprise Edition is meant to solve?
- st3fan 18y ago'REE' - that is a joke right?
- jeremymcanally 18y agoNo it's not and it works quite well.
- FooBarWidget 18y agoThis problem has been solved well over a year by Phusion Passenger (www.modrails.com) and Ruby Enterprise Edition (www.rubyenterpriseedition.com). It saves you tons of memory.