15
What Is My [Server] Throughput? (One-Click Audit)
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:
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.
The chaos server (which can seem down) 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.
- 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.
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.
View the test run and errors here.
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
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).
This tool is free for the most part. However, generating higher loads does cost, but that helps maintain it free for most users.
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.
15