On Sun, 26 Dec 2004, [ISO-8859-1] "Luis G. Gmez" wrote:
> Where can I read about the Apache 2.0''s limitations that
I''ve heard
> mentioned?
The only issue I know of is that Apache 2 can be run with one thread
per request server rather than one process. Needless to say, if you''re
doing this, and mod_my_favourite_language, your favourite language had
darn well better be thread-aware as well, and be using the same threads
package to boot. But if you''re using one child process per request
server, there''s no problem.
Here''s the state of my knowledge WRT various systems:
1. PHP. Forget it.
2. mod_ruby, with ruby''s default compile. Probably not. Ruby does
not use pthreads by default, at least when built on NetBSD 2.0.
I found this out becuase it seems that the postgres driver does.
Configuring ruby with --with-pthreads fixed my problems there.
3. mod_ruby, using ruby --with-pthreads. Who knows?
I don''t think I''d get too uppity about using mod_ruby with
threads
instead of processes unless you''re either relying on being able to do
interesting interactions between threads and you''re so heavily loaded
that RPC or IPC won''t do the trick. Otherwise, distribute.
cjs
--
Curt Sampson <cjs-gHs2Wiolu3leoWH0uzbU5w@public.gmane.org> +81 90 7737
2974 http://www.NetBSD.org
Make up enjoying your city life...produced by BIC CAMERA