Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Is there a way to know how many requests WAMP can handle in a second. And is there a way to increase that?

By WAMP i mean the package software installed on the local machines

share|improve this question

migrated from stackoverflow.com Feb 27 '12 at 8:53

This question came from our site for professional and enthusiast programmers.

closed as not a real question by SvW, Chris S Feb 27 '12 at 14:17

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

    
1, 100, 100000, pick one –  Dagon Feb 27 '12 at 8:53
    
run ab against it and find out! –  tylerl Feb 27 '12 at 9:48
3  
How many horsepowers does a car have? ;) Totally useless question, because it depends on programmer stupidity, application specifics and server power. –  TomTom Feb 27 '12 at 9:49
add comment

3 Answers

up vote 2 down vote accepted

As Amber said, it depends on the specs of the server. However, you can do benchmarks with ab.exe, located in the apache\bin directory.

More info on Apache Bench: http://www.petefreitag.com/item/689.cfm

share|improve this answer
add comment

It all depends on your server specs, what other processes are running, how intensive your request handling is, et cetera.

In other words, there's no specific answer to your question. For tips on tuning performance, you might want to ask on ServerFault.

share|improve this answer
    
By WAMP i mean the package software installed on the local machines. –  user963631 Feb 27 '12 at 8:57
    
Still irrelevant. Some applications that you write use more resources than others. How many kg load can I put on a vehicle? Some 100kg, some 40 tons. Depends on the vehicle. And putting 100 liters water into acars is hard when it is not in bottles ;) It is easier in a tank. WAMP is a tachnology stack. Some site are slim, some require a lot of database IO or processing. –  TomTom Feb 27 '12 at 9:51
add comment

I have heard figures ranging from about 10-50 for an unoptimized webapp, > 100 && < 500 for an optimized webapp with database optimizations, and 1000+ for a webapp behind a load balancer, some caching, and 10000+ with proper horizontal and vertical scaling and tinkering with your framework/language to squeeze every last bit of performance out of it.

These are just estimates off the top of my head (and probably wrong, but that's the point of guestimation). They will differ based on what you're serving, whether you've configured your stack to squeeze performance, whether you've optimized your code, the limitations of your hardware and bandwidth at this point and whatever else life has to throw at you.

share|improve this answer
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.