This content originally appeared on DEV Community and was authored by Mathew Kurian
Have you wondered how many users can be on your website at the same time?
But you wanted a test framework that is...
- More than a benchmark (not JMeter or LoadRunner).
- Simulated real users.
- Presentable and quick
- Provides a quick report, something like this:
WhatIsMyThroughput.com (beta)
In this article, I want to introduce to you WhatIsMyThroughput.com. It is a tool that helps gauge whether your website is ready to handle X users concurrently.
Case Study of chaos.browserstorm.com
The chaos server uses connect-chaos
to generate errors on an express server randomly. This particular server can control what errors get generated and when, so it's a prime example of what systems can do at high loads.
Our Test Setup
- Navigated to WhatIsMyThroughput.com
- Submitted a test with the following properties
Property | Value |
---|---|
Target URL | https://chaos.browserstorm.com/ |
Virtual Users | 32 |
The test takes 15 minutes to run, so now we wait.
What was the verdict?
Tik tok tik tok... and the results have come in! The test has failed! The website could NOT handle the load of 32 concurrent users. This test is a bit anti-climactic since the errors are expected. But in any other case, it's important to review the errors the users have experienced, shown below.
What were the errors?
View the test run and errors here.
What then?
If a production server had errors similar to this test, then there is a problem. But in this case, it is expected. Generally speaking, at scale, the use of CDNs would improve the read scenarios. For write heavy situations, low-hanging fixes can include waiting rooms. There are more complex solutions
Custom Flows
This article focuses only on the Page Visit Flow. If you wanted to find out the throughput of flows on your server, like signing up or performing a search, they need to be implemented in JavaScript/TypeScript via. BrowserStorm (or at any other browser at scale test platform).
Pricing
This tool is free for the most part. However, generating higher loads does cost, but that helps maintain it free for most users.
Conclusion
With Single Page Apps (SPAs) on the rise, the goal of BrowserStorm (and WhatIsMyThroughput) is to offer a "certificate" for a particular scale. This guarantee should give developers a sense of confidence and proof that their system can operate at production loads.
Both BrowserStorm and WhatIsMyThroughput are in active development. Feedback helps drive the direction of the product. Please let us know if you have any questions or concerns in the comments.
This content originally appeared on DEV Community and was authored by Mathew Kurian
Mathew Kurian | Sciencx (2021-06-08T09:24:19+00:00) What Is My [Server] Throughput?. Retrieved from https://www.scien.cx/2021/06/08/what-is-my-server-throughput/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.