Comet works through apache?

103 views
Skip to first unread message

philip

unread,
Aug 20, 2008, 3:30:20 AM8/20/08
to liftweb
Hi,

If I setup my tomcat or jetty to run on port 8080, then use apache
(working as normal on port 80) ProxyPass and ProxyPassReverse to the
tomcat or jetty I have this gut feeling its not going to work through
apache for comet. Am I right?

My setup is I use ISPConfig (http://www.ispconfig.org/) to host
serveral domains on Centos.

Either I have to work out how to adjust ISPConfig to use Jetty or look
at ipchains?

Any advice appreciated,

Thnx, Philip

David Pollak

unread,
Aug 20, 2008, 11:25:56 AM8/20/08
to lif...@googlegroups.com
Philip,

Lift's demo site and Buy a Feature and a bunch of smaller Lift-based
projects all go through Apache.

Apache is good for about 300-400 simultaneous connections. Tomcat is
also good for only 300-400 simultaneous connections. So for small to
moderate Comet site, you'll be fine.

When we ran a huge Buy a Feature tournament, I ran it with Jetty
connected directly to port 80.

I am currently working on (with Tim's help) using NginX as a front-end
proxy to Jetty. NginX can support C10K (10,000 connections). Once I
get some configuration files for NginX put together, I'll send them out.

Thanks,

David

Reply all
Reply to author
Forward
0 new messages