[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: confused about mod_lua, mod_python, mod_php
- From: Jacques Chester <jacques@...>
- Date: Thu, 29 Oct 2009 00:36:20 +0800
On 28/10/2009, at 10:45 PM, Fernando P. García wrote:
+1, I'm using mod_fcgid for both Lua and PHP, performance is great!
It's funny how doing this throws Lua's benefits into
sharp relief. Each copy of PHP on my servers chews ~
between 15Mb and 33Mb. Each copy of Lua is less than
300kb, from memory. That's a memory usage ratio of
between ~50:1 and ~100:1.
I published some microbenchmarks on the Kepler mailing
list a while back; and as I recall one of the interesting
facts was that you could run so many instances of Lua in
the same memory space that the key bottleneck ceased to
be waiting on FCGI children. It became waiting on disk.
Sometimes I wonder if part of Lua's excellent performance
is simply because the entire VM and code can usually fit
into a modern CPU's caches.
- confused about mod_lua, mod_python, mod_php, Patrick
- Re: confused about mod_lua, mod_python, mod_php, Bertrand Mansion
- Re: confused about mod_lua, mod_python, mod_php, Fabio Mascarenhas
- Re: confused about mod_lua, mod_python, mod_php, Fernando P. García