New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
How do you loadtest your applications?
in General
So I've recently stumbled upon this issue. I want to loadtest my application with thousands of requests per second to see how much load it can sustain. I tried using my wifi but my network speed is limiting it.
Now, I have several servers and I want to test it using them but I'm a bit concerned about whether they will suspend my VPS thinking I'm attacking external servers using their network.
How do you get around this problem?
What tools/services do you use for loadtesting?
Thanked by 1oloke

Comments
You should check out https://k6.io/ from Grafana. They have a good free plan for load testing, and it's open source too.
I like siege. You can run it locally (like on your API server, to itself), but you can also run it externally. Not sure why they would shut you down for it unless there's some type of complaint.
for((;;))do curl my.application.example;done
Sounds good but considering my wifi speeds, not possible to do some actual testing 🥲
Thanks, I've asked one of my hosting providers for whether they allow this.
Will check it out, thanks!
+1 k6.io
I heard a lot about this even before but didn't really try it out. I have been using loadtest npm package so far.
Get on Discord and tell people your site can handle absolutely anything.
No don't do this
Don't hesitate to ask your service provider(s) in advance if they would be okay with a short load testing period. That's much better than not giving any notice, since then they would have no visibility over what you're actually doing. (unfortunately abusers also exist and we have to be wary of them
)
If you are able to demonstrate that your use is legitimate and that you're only stress-testing your own services.
I think it should be perfectly fine
Yessss
Use localhost.
I had that in mind I'll probably do that later too. But I also wanted to test it network wise like accepting requests from external places instead of localhost.
k6, ab
If you need high RPS, try wrk. It’s C-based and much faster than ab or most NPM packages. To avoid suspension, run the tests between two servers within the same data center or provider network. Most hosts don't flag internal traffic, but hitting an external IP with thousands of requests will definitely trigger automated DDoS protection.
I did end up running internally. I used the
loadtestnpm packageJust piss someone off on LET I'm sure someone will then test it out for you
Ngl, I like the idea