How to simulate concurrent traffic/access arbitrarily in Apache?

Asked

Viewed 805 times

5

I am using Easyphp 14.1 Devserver, which comes with`Apache 2.4.7/Mysql 5.6.15.

I am willing to simulate high traffic and concurrent access to observe the performance and behavior of my site under these conditions, to make the appropriate adjustments.

The question is: how do I simulate these conditions? Is there any tool to simulate these cases or open the same script in several tabs is already efficient?

1 answer

6


You will have to use appropriate software. You can even do it on your own but it takes work and you probably won’t do it properly.

You need to test normal and overrated load until the server no longer responds. The ideal is that the normal load (or slightly above what can be considered normal) is running for a long time (24 hours or more).

Just this is not enough, you need to try to simulate realistic scenarios and try to create unusual situations forcing the application or server to have problems in unclear situations.

They’ve already done a list software for this.

Apache itself comes a utility for this called ab (Apachebench).

If you want something more sophisticated and can use Java Apache itself forwarded the project Jmeter.

They say that the httpperf HP works with more intense loads if necessary.

Another is the Dummynet.

I’ve heard good things about Seagull.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.