  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | JSP - A mailing list about Java Server Pages specification and reference | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | - Latency problem due to small TCP/IP packetsize | - Latency problem due to small TCP/IP packetsize 2007-07-12 - By mhohmann
Back Hello,
we run a couple of webservices as interfaces to some datawarehouse reports. The webservices take some parameters in the soap-request to run the sql-querys against the DB. The result-data is returned as an XML-element in the body of the soap-reponse.
An average reponse is about 130KB. With an MTU around 1500Byte the response should fit in <100 packets, but a network sniff showed that the server generates >10,000 packets for one response. The push-option in the IP-header is also set which instructs the IP-stack to send the paket immediatly before its payload-capacity is filled.
This leads to latency problems because the firewall between the server and the client-applications takes more time to examine the packets. In case of a 130KB response a webservice-request through the firewall takes 10 seconds compare to <2 seconds without the firewall between client and server.
Are there any options to configure the packetsize or some buffer parameters to change the behavior of packet generation (or Sockets) in JBoss, JBossWS or JVM? I really don??t know where to search for a Solution.
I hope someone can help me. I'm looking foreward for your replies. Thanks in advance.
Michael Hohmann
PS: Sorry for my bad english
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic &p=4063470#4063470
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode =reply&p=4063470
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ jboss-user mailing list jboss-user@(protected) https://lists.jboss.org/mailman/listinfo/jboss-user
|
|
 |