This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Performance and the fly likes Tracing the bandwidth Occupied by each request sent from Servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Performance
Bookmark "Tracing the bandwidth Occupied by each request sent from Servlet" Watch "Tracing the bandwidth Occupied by each request sent from Servlet" New topic
Author

Tracing the bandwidth Occupied by each request sent from Servlet

Ramesh Jothimani
Ranch Hand

Joined: May 05, 2011
Posts: 70

I have a distributed application installed across various computers across the network . When the PC's network bandwidth is low , the application is taking very long time to respond . The bandwidth is not too low . I would like to Optimize the code.

I would like to trace out the bandwidth occupied by each request sent from a servlet ? Is there any specific tool for getting the same ?


Please provide some suggestions to solve this .
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

I'm sure you could write a servlet filter which kept track of the size of the responses being sent (assuming that's what you meant by "bandwidth").
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12759
    
    5
Note that the Tomcat Management App will show you total bytes sent and received.

Bill
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tracing the bandwidth Occupied by each request sent from Servlet
 
Similar Threads
Calling servlets/JSP from Midp
Communication between applet instances
Tangosol Releases Coherence 1.2.1
Downloading UI components on demand
performence problem