Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization 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
  • 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: 20758
30
Eclipse IDE Firefox Browser MySQL Database
  • 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: 13056
6
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic