SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 4 of 4
  1. #1
    Senior Member
    Join Date
    Sep 2008
    Location
    Argentina
    Posts
    340
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    How calculate Throughput for multiple requests?

    Hi all,

    I'm developing a tool to process the performance results. In the results I have for each HTTP request the timeStamp, the URL, the elapsed and the latency. I need calculate the Throughput for a request that appears in the file multiple times, but I fail. I can calculate the Throughput for a simple request (1/elapsed) but I don't know how calculate it for multiple requests

    Somebody know the formula to calculate the Throughput for
    multiple requests?

  2. #2
    Moderator
    Join Date
    Sep 2001
    Location
    Boston, MA
    Posts
    4,348
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How calculate Throughput for multiple requests?

    if I am following you.. you want to split the data into a time-series of all requests sliced into buckets of some resolution.

    For example, if you slice it into seconds, you just do a count per second and that is your throughput during that second. You can then aggregate the data and analyze it as you please.
    Corey Goldberg
    Homepage: goldb.org
    Twitter: twitter.com/cgoldberg
    Google+: gplus.to/cgoldberg

  3. #3
    Junior Member
    Join Date
    Nov 2008
    Posts
    7
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How calculate Throughput for multiple requests?

    If I am getting you then what I though:

    First Find following:
    pass Command
    Failed Command
    pass responce
    fail responce
    pass (HTTP) connections
    fail (HTTP) connections

    Look for the total 'active time' for 'entire run' and then devide it though above(pass/fail command/responce).
    example:
    If total pass command is 624 and Active time is 1486 , you will get an average 25.17 pass cmd/per minutes.

    correct me otherwise.

  4. #4
    Senior Member
    Join Date
    Sep 2008
    Location
    Argentina
    Posts
    340
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: How calculate Throughput for multiple requests?

    Thanks for reply.

    Yeah, I tried it, but the result that I get, is different to the result displayed by the tool that I use....

    I did the following calculation:

    *Storage all the TimeStamps for a Request.
    *Then I extract the min() from that storage.
    *extract the max time from that storage; in this case I add to the Timestamp the elapsed time (to calculate the end time)
    *Calculate the difference between max time and min time.
    *then count all the pass response for that request.
    *Calculate Throughput for the request = (count all the pass for the request) divide (difference between max time and min time)

    With that logic I get a Throughput= 0.0036140154 for a request, but the tool that I use get a Throughput= 0.05377596931184685

    I don't know where I'm failing, may be the tool that I use it wrong...I don't know...

    What do you think? The steps that I did, are OK?

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 11.54%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 02:47 AM.

Copyright BetaSoft Inc.