![]() |
Passenger architecture
FYI: http://www.modrails.com/documentatio...0overview.html
A different approach to spawning and managing Rails instances. Not sure how it performs in practice, but the memory savings could be interesting. |
It is similar to what LiteSpeed has done for years.
They have to fix the copy-on-write problem in Ruby VM to save memory, and ruby-lsapi will save memory too with the patched Ruby VM. |
Would it be possible to use the patched "Ruby Enterprise" VM the Phusion guys have with LiteSpeed and get the same memory improvements? Or would ruby-lsapi completely die?
If so, is that something you've done or recommend? I haven't tried it personally yet but haven't heard any problems in general about their "Ruby Enterprise" patched VM. |
We have not tried it yet, but it should work well with LiteSpeed based on their claim. You may need to patch lsws/fcgi-bin/RailsRunner.rb by adding
Code:
if GC.respond_to?(:copy_on_write_friendly=)Please let us know the result if you give it a try. |
Any luck with this?
I'm considering adding it to my sites, and wanted to check if anyone ran into any problems.
|
I got segfaults with the patched ruby.
|
| All times are GMT -7. The time now is 04:53 AM. |