Question

Simulating users & stress testing?

Hi folks, I am in the process of building a simple cloud service and I want to measure how much traffic each kind of droplet can handle using any particular setup.

It occurred to me that there may be rules or guidelines about simulating users and stress testing a droplet. I had already run 1 test and gathered very valuable data about a 512 droplet. the test took 5 or 10 minutes.

I’d like to run other tests and maybe many tests, and I don’t want to break any rules or create “Abnormal” traffic patterns and get shut down.

Any thoughts on this would be appreciated. Thanks :)


Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Kamal Nasser
DigitalOcean Employee
DigitalOcean Employee badge
December 17, 2017
Accepted Answer

As long as you’re not generating a lot of incoming traffic (300+ of MB/s), and not causing very high CPU load for a long time, you will be fine :) 5-10 minutes is definitely fine.

alexdo
Site Moderator
Site Moderator badge
August 21, 2022

Hello there,

You can also use LoadForge for this purpose

https://www.digitalocean.com/community/tools/loadforge

LoadForge uses your DigitalOcean account to rapidly scale large numbers of simulated users to load test your website, store, API, or application.

Regards

thank you for that confirmation.

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel