Solved

reverse proxy and "real time" applications

Posted on 2004-08-09
4
281 Views
Last Modified: 2010-03-04
I have a bunch of (intranet) web applications which are running behind an apache reverse proxy (PoxyPass / ProxyPassReverse), this is done purely as a handy abstraction - security, Apache performance or any other such thing doesn't really play into this (they are long running / resource intensive scripts with relatively few requests).

The problem that I am having is that for some of these applications I like to keep the HTTP connection open for extended periods of time to continuosly provide updates (counters, progress bars, that sort of thing) for the entire duration of the process, which can be hours in some cases.

When I try this through the proxy, it waits until it gets the entire response before sending it to the client (and many cases times out).

Any ideas on an approach to fixing this?
0
Comment
Question by:_D_
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 15

Accepted Solution

by:
samri earned 500 total points
ID: 11799022
hi _D_,

How do you configure the apache, and the proxy/proxypass directive for the backend server.  Did you have one mainserver and have multiple proxy/proxypass directive for the few intranets, such that.

Proxy /inttranet1 http://192.168.1.1/
ProxyPass /inttranet1 http://192.168.1.1/

Proxy /inttranet2 http://192.168.1.2/
ProxyPass /inttranet2 http://192.168.1.2/

Proxy /inttranet3 http://192.168.1.3/
ProxyPass /inttranet3 http://192.168.1.3/

etc.

OR. Do you configure your apache to have multiple VHost, and define proxy directive for the respective

In either case, you could take a look at KeepAlive directive- http://httpd.apache.org/docs-2.0/mod/core.html#keepalive

However, this would affect the performance, since increasing the keepalive to 1day for example will cause apache processes to grow.  I would advise to take the 2nd approach (using vhost) where you increase the timout only to those intranet apps that require the "special" setting.

cheers.
0
 
LVL 15

Expert Comment

by:samri
ID: 11799023
i am sorry -- it is KeepAliveTimeout - http://httpd.apache.org/docs-2.0/mod/core.html#keepalivetimeout

:)
0

Featured Post

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Over the last year I have answered a couple of basic URL rewriting questions several times so I thought I might as well have a stab at: explaining the basics, providing a few useful links and consolidating some of the most common queries into a sing…
It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question