Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
Shells Virtual Desktop
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.

How do you loadtest your applications?

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.

    Thanked by 2sanchogodinho makej
  • slowserversslowservers Member, Host Rep

    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.

    Thanked by 1sanchogodinho
  • 384_cz384_cz Member

    for((;;))do curl my.application.example;done

  • @384_cz said:
    for((;;))do curl my.application.example;done

    Sounds good but considering my wifi speeds, not possible to do some actual testing 🥲

  • @slowservers said:
    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.

    Thanks, I've asked one of my hosting providers for whether they allow this.

  • @quanhua92 said:
    You should check out https://k6.io/ from Grafana. They have a good free plan for load testing, and it's open source too.

    Will check it out, thanks!

  • dosaidosai Member

    +1 k6.io

    Thanked by 2sanchogodinho oloke
  • @dosai said:
    +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.

  • MannDudeMannDude Patron Provider, Veteran

    Get on Discord and tell people your site can handle absolutely anything.

    No don't do this

  • olokeoloke Member, Host Rep

    @sanchogodinho said: I'm a bit concerned about whether they will suspend my VPS thinking I'm attacking external servers using their network.

    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 :smile:

    Thanked by 1sanchogodinho
  • @oloke said:

    @sanchogodinho said: I'm a bit concerned about whether they will suspend my VPS thinking I'm attacking external servers using their network.

    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 :smile:

    Yessss

    Thanked by 2oloke forest
  • Use localhost.

  • @Dyingcat said:
    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.

    Thanked by 1sanchogodinho
  • @brainjava said:
    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 loadtest npm package

  • JordJord Moderator, Host Rep, Megathread Squad

    Just piss someone off on LET I'm sure someone will then test it out for you :joy:

    Thanked by 1sanchogodinho
  • @Jord said:
    Just piss someone off on LET I'm sure someone will then test it out for you :joy:

    Ngl, I like the idea

Sign In or Register to comment.