Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Disable output buffering (Apache+Tomcat)

Status
Not open for further replies.

chriskatz

Programmer
Dec 20, 2005
1
BG
Hi all,

Our current project requires us to feed (in real-time) data to clients via HTTP tunneling. We use Apache HTTP sever as load balancer in front of Tomcat.

When we access the feed URL by connecting directly to Tomcat (on port 8080) it works as expected -- data is sent immediately to clients (we call ServletOutputStream's flush() method).
In contrast when accessing the app. via Apache(on port 80) the output is buffered (in chunks of 8,192 bytes), and this is not exactly what we need.

We've tried to set "SendBufferSize" in both http.conf and mod_jk.conf, but it doesn't change the buffering behaviour.

Does anyone know a solution for this?

any help/hint is greatly appreciated,
thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top