Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do they give fake load given to the cloud instances?

Link to the video

In any case i'll explain what is happening in the video:

A single eucalyptus instance is running and he gives some type of load to the instance and it reaches a point where he automatically deploys another instance to help maintain the load.

After a while, he increases the load even further when a ec2 instance is created and i also help in maintaining the load. When he decreases the load, the instances gets terminated to save cose etc.,

My question is, what does he use to give fake load to the instances running and any pointers on how to determine it?

Is it possible to do it in python?

like image 290
Pavan Avatar asked Nov 26 '25 16:11

Pavan


1 Answers

You can use Siege to test server performance. You can emulate HTTP load on an instance from the command line, with options like concurrent users (-c) and the duration of the connection (-t):

siege -c20 -t30 http://www.yoururl.com/

If you just want to generate load on the server, use a tool like Stress to create CPU/IO/memory load.

Use Siege responsibly.

like image 189
nathancahill Avatar answered Nov 28 '25 16:11

nathancahill



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!