tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chris derham <ch...@derham.me.uk>
Subject Re: Slow HTTP Rquest via Tomcat
Date Mon, 12 Jan 2015 22:43:04 GMT
On 13 January 2015 at 11:38, Thone Soungpanya
<thone.Soungpanya@higherone.com> wrote:
> Hello,
>
> Can anyone give some advice on what the issue may be? We have a web application folder
in Tomcat that have been slowing the http request's connection to another third party system
when there are high traffic. It seems to be halting in the Tomcat server for about 20 - 50
seconds before attempting to connect to the third party system. Once it tries to connect to
the third party system, the response time is only about 6 - 10 seconds which is normal. It
does not seem to be an issue at the third party's end as the response time is quick once we
get connected.
>
> Here are the specs that we have and additional information...
>
> 1) Apache Tomcat 7.0.56
> 2) JVM version 1.7
> 3) Running on Linux OS Version 2.6.32
>
> Connection Flow:
> 1) User submits a HTTP request from web application to Tomcat
> 2) Tomcat calls Java's servlet code along with HTTP request parameters
> 3) Java servlet code connects to third party system via application server and jolt port
> 4) Third party system returns requested information
>
> We thought it would be a session issue which we lowered the session timeout (just for
that folder) in WEB-INF folder to 5 minutes from defaulted 30 minutes but it is still doing
the same thing.
>
> Any advice on what it may be? Let me know if you need additional information.

How does your code connect to the 3rd party? There are libraries that
do this, please elaborate which you use. I recall using one, and it
had a limit on the number of concurrent connections to a 3rd party.
Perhaps you hit this limit? How many connections are you talking about
when the problem occurs - 10s, 100s, 1000s or more?

Chris

> Thank you in advance!
>
> Thone

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


Mime
View raw message