You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Keith Theman <xr...@hotmail.com> on 2010/03/19 19:28:54 UTC

[users@httpd] Slow apache proxy performance.

Hello,

I am running apache 2.2.10 with mod_proxy enabled. We are config'd to run as a reverse proxy.

Client
 |
 |
reverse proxy
 |
 |
application server
 |
 |
database


Everything works fine, except when the application being proxied returns a large data set (an oracle query result in an html table) back to the client. The page returns, but takes 15 seconds++. If you go directly to the backend application server application, and run the same query function, it is returned in under 5 seconds, if not 2 seconds.

So it "seems" that the proxy is chewing up 10+ seconds. Can anyone recommend a means of troubleshooting or isolating the problem? I did not turn caching on.

Thank You for any and all help,
Ed


 		 	   		  
_________________________________________________________________
The New Busy is not the old busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID27925::T:WLMTAGL:ON:WL:en-US:WM_HMP:032010_3

Re: [users@httpd] Slow apache proxy performance.

Posted by Francis GALIEGUE <fg...@one2team.com>.
On Fri, Mar 19, 2010 at 19:28, Keith Theman <xr...@hotmail.com> wrote:
> Hello,
>
> I am running apache 2.2.10 with mod_proxy enabled. We are config'd to run as
> a reverse proxy.
>
> Client
>  |
>  |
> reverse proxy
>  |
>  |
> application server
>  |
>  |
> database
>
>
> Everything works fine, except when the application being proxied returns a
> large data set (an oracle query result in an html table) back to the client.
> The page returns, but takes 15 seconds++. If you go directly to the backend
> application server application, and run the same query function, it is
> returned in under 5 seconds, if not 2 seconds.
>
> So it "seems" that the proxy is chewing up 10+ seconds. Can anyone recommend
> a means of troubleshooting or isolating the problem? I did not turn caching
> on.
>

Two questions:

1. Do you refer to the backend app server by IP address (whether it be
IPv4 or IPv6)? If by name, how long does it take, on the proxying
server, to obtain the IP address from the name (use the "host" command
to find out, since it will use the full resolver library)?
2. Do you use keepalive when proxying? If no, why not?

-- 

Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
fge@one2team.com
40 avenue Raymond Poincaré
75116 Paris

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd] Slow apache proxy performance.

Posted by Keith Theman <xr...@hotmail.com>.
Oh, I should also note:

1. ) when the client submits the request, they get back an almost instant "initial" load of the page and "some" data, but it takes 15 more seconds for the client to receive the complete HTML data set.

2.) We have an old sun proxy server on the same network as the apache proxy server, that has a slower processor yet, returns the HTML data result in under 5 seconds (going against the exact same application as the apache proxy server)

Ed

From: xray316@hotmail.com
To: users@httpd.apache.org
Date: Fri, 19 Mar 2010 14:28:54 -0400
Subject: [users@httpd] Slow apache proxy performance.








Hello,

I am running apache 2.2.10 with mod_proxy enabled. We are config'd to run as a reverse proxy.

Client
 |
 |
reverse proxy
 |
 |
application server
 |
 |
database


Everything works fine, except when the application being proxied returns a large data set (an oracle query result in an html table) back to the client. The page returns, but takes 15 seconds++. If you go directly to the backend application server application, and run the same query function, it is returned in under 5 seconds, if not 2 seconds.

So it "seems" that the proxy is chewing up 10+ seconds. Can anyone recommend a means of troubleshooting or isolating the problem? I did not turn caching on.

Thank You for any and all help,
Ed


 		 	   		  
The New Busy is not the old busy. Search, chat and e-mail from your inbox. Get started. 		 	   		  
_________________________________________________________________
Hotmail: Trusted email with powerful SPAM protection.
http://clk.atdmt.com/GBL/go/210850553/direct/01/