HTTP persistent connection

Problem: Web War and Service JAR are deployed in same server. Under load Web is taking more time to get http connection.

http://en.wikipedia.org/wiki/HTTP_persistent_connection

http://docs.spring.io/spring-ws/site/apidocs/org/springframework/ws/transport/http/HttpComponentsMessageSender.html

Never use HTTPConnection directly. We must need to re-use HTTP Connection.
https://hc.apache.org/httpclient-3.x/apidocs/org/apache/commons/httpclient/HttpConnection.html

-o-

Advertisements

One thought on “HTTP persistent connection

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s