[rt-users] standalone_httpd

Todd Chapman todd at chaka.net
Mon Aug 8 14:09:51 EDT 2005


On Mon, Aug 08, 2005 at 01:50:02PM -0400, Rich West wrote:
> 
> >>>Is this efficient enough to use as the standard way of running RT?  It
> >>>might eliminate a lot of installation problems and if you wanted it
> >>>as a virtual host you could easily run on an odd port number and play
> >>>some tricks with Apache's ProxyPass or RewriteRules to hide the fact
> >>>that it isn't the same web server.
> >>>
> >>>>Unless things have changed, standalone is single threaded. That means
> >>>>it can only process one request at a time. If someone runs a long
> >>>>query everyone else will be waiting.
> >>>>
> >>>Unfortunately, this is true.  It is single threaded, and it can be a 
> >>>huge performance hit.
> >>
> 
> Although.. just a thought here.. if it were written so as to be a 
> forking web server (fork off a standalone process to handle the current 
> request then exit upon completion), with a limit on the number of 
> currently running forks (so as to prevent the server from being 
> overloaded too easily), it would probably be comparable in performance 
> without the complexity..
> 
> -Rich

I talked to Jesse about this and he said that when you start
pre-forking and the like you very closely approach the speed
of Apache. Although the perl solution would be easier to get
up and running...  I would like to see how it works.

-Todd



More information about the rt-users mailing list