Stress Test with Loader.io

Ever wonder how many requests your $5 a month Digital Ocean
server can handle? Using Loader.io’s
free load testing tool can help you do just that! It’s a good idea to know what your server can handle so you can be prepared to handle large spikes in traffic. This could mean increasing the specs on your current server, adding aload balancer or usinground robin dns to distribute the request to multiple servers.

To start, I would recommend getting a baseline of your current request per minutes your app receives using a tool likengxtopfor Nginx servers or New Relic
. Once you have an idea what your current infrastructure can handle, you can use Loader.io
to simulate 2x or 3x the number of requests. If you start receiving errors(timeouts, etc.), you have a general idea when your app will start to fail.

Loader.io
also has a schedule feature that sends you a report and keeps a history of past tests. This can be useful to know if your app is slower due to code changes or an increase in load.

Loader.io has been a great tool to know how my servers are handling the ever increasing request for my Weather Extension
. Let me know if you give Loader.io
a try and what you think.

Follow @Tim_Leland

稿源:Tim Leland (源链) | 关于 | 阅读提示

本站遵循[CC BY-NC-SA 4.0]。如您有版权、意见投诉等问题,请通过eMail联系我们处理。
酷辣虫 » 科技动态 » Stress Test with Loader.io

喜欢 (0)or分享给?

专业 x 专注 x 聚合 x 分享 CC BY-NC-SA 4.0

使用声明 | 英豪名录

登录

忘记密码 ?

切换登录

注册