IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New mod_proxy buffering woes
We're trying to use Apache to proxy a back-end process that serves up discrete bits of information that need to be immediately sent back to the browser, but mod_proxy buffers everything internally.

So far, I haven't been able to get mod_proxy to stop buffering things...

Any ideas?
Regards,

-scott anderson
New Re: mod_proxy buffering woes
Did you try to set the Proxy *(recieve etc..) Buffer Sizes to 0? for testing??

Did you try the "NoCache worker.mydom.com" in the conf??

Look [link|http://httpd.apache.org/docs/mod/mod_proxy.html|here] for more info.

edit:

Dammit I hate when I do that!!!


greg, curley95@attbi.com -- REMEMBER ED CURRY!!!
In 2002, everyone will discover that everyone else is using linux. ** Linux: Good, fast AND cheap. ** Failure is not an option: It comes bundled with Windows. ** "Two rules to success in life: 1. Don't tell people everything you know." - Sassan Tat
Expand Edited by gfolkertold Dec. 18, 2001, 02:36:35 PM EST
New Re: mod_proxy buffering woes
ProxyReceiveBufferCache set to 0 just uses the system default buffer size. It's still larger than we need.

Yes, I tried NoCache.

Thanks...
Regards,

-scott anderson
New Re: mod_proxy buffering woes
Wow....

*Scratches head*

Digging in these things are my fav... dunno if I'll find anything... but I'll look.

One last thing you may try is diggin through the source for mod_proxy and actually setting the "system buffer" useage to 0 also.. (ca't remember where it is or what it is called) and recompile the module using apxs (if that is setup properly too)

One way or the other, I'll report back... might be a bit fer reading/hacking... You too though if you finger it out.

BTW, how big is the payload???


greg, curley95@attbi.com -- REMEMBER ED CURRY!!!
In 2002, everyone will discover that everyone else is using linux. ** Linux: Good, fast AND cheap. ** Failure is not an option: It comes bundled with Windows. ** "Two rules to success in life: 1. Don't tell people everything you know." - Sassan Tat
New We hacked our own
Which involved adding a flush call inside the loop in the proxy_util.c file.

We're going to change it to recognize a Pragma: auto-flush (or something similar) instead.

The payload is structured data, typically about 30-40 bytes long, issued no less frequently than once per second.
Regards,

-scott anderson
     mod_proxy buffering woes - (admin) - (4)
         Re: mod_proxy buffering woes - (folkert) - (3)
             Re: mod_proxy buffering woes - (admin) - (2)
                 Re: mod_proxy buffering woes - (folkert) - (1)
                     We hacked our own - (admin)

I think its a fine solution to the problem that you probably shouldn't have.
58 ms