httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Noordhuis <>
Subject Re: mod_ruby on Apache for Windows 2.2.17
Date Fri, 11 Feb 2011 13:34:51 GMT
On Fri, Feb 11, 2011 at 14:11, Zeno Davatz <> wrote:
>> Apache on Windows serves all requests from a single process.
> Apache on Linux does not do that?

Nope. The worker and event MPMs are hybrids: serving requests from
many processes, where each process has many threads. And if all
processes are busy, Apache will simply spin up more.

>> The Ruby interpreter is not thread-safe so mod_ruby creates a Big Mutex
>> whenever it needs to run. Thus on Windows, with its single-process
>> model, mod_ruby can only serve one request at a time.
> So you say, that mod_ruby on Windows can _not_ leverage its power
> because Apache on Windows is a single thread process?

Effectively single-threaded when mod_ruby is serving a request, yes.

View raw message