views:

44

answers:

2

I'm running mediawiki on an apache on a regular pc running vista (don't know the specific specs, but a regular pc, one year old, nothing special).

Edit: I'm guessing something like duo core 2 2 giga hertz processor, broadband connection (500 kb/s at least) and most of the time the requests will be sent through LAN (but sometimes through the internet)

I want to use the mediawiki api to send a lot of requests to this server. I'm talking thousands of requests every few seconds at worst case. (A lot of these requests may repeat themselves, I guess some sort of cache would help)

Will the server handle this, or do I need a stronger/dedicated computer?

Edit: I'm not looking for specific yes/no, but what configuration of computer will support how many request per second.

Thanks

+3  A: 

This is entirely Dependant on the Server, PC hardware, software, and Internet connection.

If you want to find out, run some tests, when your machine stops working, you have reached the limit.

mikerobi
I can't run tests because I haven't built the application that sends the requests, and this may have implications to how I build it. So I need someone with experience to tell me if these are reasonable amounts or not.
Uri
You can use Apache's "ab" as a simple tool to measure the performance.
Levon Mirzoyan
Run something like: ab -n 1000 -c 10 http://localhost/ . This will send 1000 request through 10 parallel connections. Of course you can change the url to your script and add some extra params if required.
Levon Mirzoyan
A: 

Where are the requests coming from - LAN, internet? What connection speed?

You might be able to use Apache Bench to run some tests against your API and see for yourself.

Craig A Rodway
Thanks. That sounds helpful, I'll try, but still looking for general order of magnitude of requests this kind of setup can handle.
Uri