What Is My [Server] Throughput?

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,…


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:

Screen Shot 2021-06-05 at 11.18.36 AM

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.

Screen Shot 2021-06-05 at 10.51.21 AM

Our Test Setup

  1. Navigated to WhatIsMyThroughput.com
  2. 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.

Screen Shot 2021-06-05 at 10.43.55 AM

What were the errors?

View the test run and errors here.

Screen Shot 2021-06-05 at 10.44.19 AM

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


Print Share Comment Cite Upload Translate Updates
APA

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/

MLA
" » What Is My [Server] Throughput?." Mathew Kurian | Sciencx - Tuesday June 8, 2021, https://www.scien.cx/2021/06/08/what-is-my-server-throughput/
HARVARD
Mathew Kurian | Sciencx Tuesday June 8, 2021 » What Is My [Server] Throughput?., viewed ,<https://www.scien.cx/2021/06/08/what-is-my-server-throughput/>
VANCOUVER
Mathew Kurian | Sciencx - » What Is My [Server] Throughput?. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/06/08/what-is-my-server-throughput/
CHICAGO
" » What Is My [Server] Throughput?." Mathew Kurian | Sciencx - Accessed . https://www.scien.cx/2021/06/08/what-is-my-server-throughput/
IEEE
" » What Is My [Server] Throughput?." Mathew Kurian | Sciencx [Online]. Available: https://www.scien.cx/2021/06/08/what-is-my-server-throughput/. [Accessed: ]
rf:citation
» What Is My [Server] Throughput? | Mathew Kurian | Sciencx | 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.

You must be logged in to translate posts. Please log in or register.