How to measure bandwith usage for HTTP response/AJAX response.

Hello,

Is there any tools to measure bandwith usage of AJAX response? I would like to compare differents responses to see what is the most efficient one.

Thanks
Nicolas
LVL 2
maisonlapriseAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
HonorGodConnect With a Mentor Commented:
The bandwidth utilization would be a function of the volume of data sent & received using Ajax, divided by the total amount of data sent & received.

Does any tool exist to perform this task?  I doubt it.

How would a tool be able to determine which requests and responses were the result of Ajax?

You would have to to have some kind of filtering mechanism that identified what requests were generated by Ajax.

I would use something like WireShark (http://www.wireshark.org/) to capture all of the data sent/received on an interface, and write the information to a file, then parse & process it with a Python, or Perl script to do the filtering and computation.
0
 
HonorGodCommented:
Thanks for the grade & points.

Good luck
0
 
maisonlapriseAuthor Commented:
Thanks to you
0
All Courses

From novice to tech pro — start learning today.