My app is in Python(Pylons), the datastore is an ODBMS based on ZopeDB, server and client(me) are running Linux.
Ask YC: What do you use to stress test your app/db?
1–10 of 22 posts
Re: Ask YC: What do you use to stress test your app/db?
#2You can send it particular URLs that do your desired DB read/write requests.
For more in depth testing, I've heard HttpUnit is good (http://httpunit.sourceforge.net/), though I don't have much experience with it.
Re: Ask YC: What do you use to stress test your app/db?
#3Re: Ask YC: What do you use to stress test your app/db?
#4Re: Ask YC: What do you use to stress test your app/db?
#5ab is a quick and dirty way: http://httpd.apache.org/docs/2.0/programs/ab.html You can send it particular URLs that do your desired DB read/write requests. For more in depth testing, I've heard HttpUnit is good ( http://httpunit.sourceforge.net/ ), though I don't have much experience with it.
Re: Ask YC: What do you use to stress test your app/db?
#6ab is a quick and dirty way: http://httpd.apache.org/docs/2.0/programs/ab.html You can send it particular URLs that do your desired DB read/write requests. For more in depth testing, I've heard HttpUnit is good ( http://httpunit.sourceforge.net/ ), though I don't have much experience with it.
I am using Pythonpaste's webserver - does this only work on apache? httpunit looks interesting...
Re: Ask YC: What do you use to stress test your app/db?
#7Earlier quoted context omitted.
I am using Pythonpaste's webserver - does this only work on apache? httpunit looks interesting...
No, it's just HTTP. It just happens to come with apache, that's all.
ab -n 10000 -c 25 http://your.com/your.py
10000 hits, with 25 concurrent requests. You can keep cranking up -c n and see what happens. This is also useful for testing your network capability, e.g. simultaneous connections, from a fast remote network.
Re: Ask YC: What do you use to stress test your app/db?
#8Earlier quoted context omitted.
No, it's just HTTP. It just happens to come with apache, that's all.
Right. Here's a simple example: ab -n 10000 -c 25 http://your.com/your.py 10000 hits, with 25 concurrent requests. You can keep cranking up -c n and see what happens. This is also useful for testing your network capability, e.g. simultaneous connections, from a fast remote network.
Re: Ask YC: What do you use to stress test your app/db?
#9I use autobench ( http://www.xenoclast.org/autobench/ )