tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Ataras" <b...@ataras.com>
Subject RE: moding tomcat to be a proxy server
Date Tue, 24 Jun 2003 12:41:38 GMT
LB ?
(it's early for me)

-----Original Message-----
From: Remy Maucherat [mailto:remm@apache.org] 
Sent: Tuesday, June 24, 2003 5:07 AM
To: Tomcat Developers List
Subject: Re: moding tomcat to be a proxy server

Bill Ataras wrote:
> Google doesn't give me much. I've gotten good results in a few hours
so
> far (I'm browsing with it now:) writing a valve that passes through
http
> traffic using the host field and filtering some headers. Takes
advantage
> of all the coyote connection/http11/thread stuff. Installs in
> StandardEngine via server.xml config and doesn't pass the request to
> invokeNext() so no need to config context/host etc.
> 
> I'm wondering if anyone has used tomcat in this way for real (beyond a
> few hours of mucking around).

Personally, I would write the proxy as the Coyote adapter. That should 
faster as you can use reusable buffers instead of manipulating String 
objects. Your solution would work fine, though :)

Add in LB and a caching engine, and that's a feature we'd be very happy 
if you contributed :)

Remy


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org





---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message