apache bench (ab) is such a great little utility. Installed everywhere, great way to do some simple load testing of anything that speaks HTTP. e.g. to test 40 requests, 20 concurrently do:
ab -n 40 -c 20 'http://localhost:8000/my_expensive_endpoint'
apache bench (ab) is such a great little utility. Installed everywhere, great way to do some simple load testing of anything that speaks HTTP. e.g. to test 40 requests, 20 concurrently do:
ab -n 40 -c 20 'http://localhost:8000/my_expensive_endpoint'