perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Octavian Rasnita" <orasn...@gmail.com>
Subject Re: modperl and comet?
Date Fri, 16 Apr 2010 21:51:15 GMT
From: "E R" <pc88mxer@gmail.com>
Subject: modperl and comet?


> I'm interested in adding a Comet capability to a (rather large)
> mod-perl application.
> 
> To get around XSS limitations, the Comet service will have the same
> host and port as the web service. However, I don't want a large
> mod-perl process tied up performing the Comet service.
> 
> Is there a way that a web request can be passed off to another process
> without tying up the Apache process? For instance, can the Apache
> process pass the file descriptors for the HTTP connection to another
> process which would free itself up for handling the next Apache
> request?
> 
> Is there another way to implement this?
> 
> Thanks,
> ER

You can use a very thin front-end Apache reverse proxy or load balancer that forwards the
requests to one or more back-end Apache servers that use mod_perl.

You can set the front-end server to forward the requests to some paths to a comet server.

This solution is scalable if the trafic increases.

Read more about the Apache modules mod_proxy and mod_proxy_balancer.

Octavian







Mime
View raw message