This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tracing the bandwidth Occupied by each request sent from Servlet

 
Ramesh Jothimani
Ranch Hand
Posts: 70
Android Eclipse IDE Hibernate
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Pie
Posts: 20201
26
MySQL Database
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13048
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic