can you use proxies to do load/stress testing on a server, with proxy serving as a sort of mirror?

Posted by EndangeringSpecies on Stack Overflow See other posts from Stack Overflow or by EndangeringSpecies
Published on 2009-12-14T05:10:48Z Indexed on 2010/06/05 9:02 UTC
Read the original article Hit count: 257

Filed under:
|
|

suppose I want to test a server's and its web application's ability to handle many simultaneous connections well and show decent latency. So ideally I would want a thousand machines to bombard it with usage requests, but that's not practicable. So instead, can I just make a testing script with a thousand threads to run on the same server and have them perform the testing, connecting to the server via a geographically far-away proxy? My reasoning here is that the signal will have to travel realistically big distances to the proxy and back, so that sort of emulates the reality of real clients accessing the server.

Then again, to take this one step further, are there prepackaged emulators/frameworks that could perform a similar test without using internet at all, just simulating the latency of the network, realistically creating all the socket connections and other resource intensive stuff etc?

© Stack Overflow or respective owner

Related posts about server

Related posts about proxy