R
R
r1ch2013-12-04 12:45:26
PHP
r1ch, 2013-12-04 12:45:26

How to connect 1 million bots to a site on localhost for a performance test?

I want to test the performance of this previous post

Answer the question

In order to leave comments, you need to log in

5 answer(s)
V
Vit, 2013-12-04
@r1ch

Use ab or siege. The latter has more features, a fairly simple and useful thing.

A
alternativshik, 2013-12-04
@alternativshik

ab -n 1000 -c 100 -C 'cookie_name=value'  http://localhost/

n - the total number of requests
c - the number of parallel requests
c - cookies for the session, if you are going to check it.

P
plasticmirror, 2013-12-04
@plasticmirror

in the sense - to load a bunch of http requests on the local server?
well, either take any tool that allows you to generate load requests (Google to help)
or write it yourself, since anything is friendly with http requests
. for a client generating a load, it’s good to have several machines on the local network
when testing a positive http service, we needed 3 machines generating requests to clog the network (100 Mbps at that time)

S
Shurik, 2013-12-04
@aioon

jMeter or Gatling is easier with jMeter )

V
Vitaly Zheltyakov, 2013-12-04
@VitaZheltyakov

I'm surprised - what people won't come up with just not to use profiling on xDebug

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question