<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: BrowserStorm</title>
    <description>The latest articles on DEV Community by BrowserStorm (@browserstorm).</description>
    <link>https://dev.to/browserstorm</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Forganization%2Fprofile_image%2F4271%2F51e36b90-9756-4869-b4f2-0ca3264c4ee2.png</url>
      <title>DEV Community: BrowserStorm</title>
      <link>https://dev.to/browserstorm</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/browserstorm"/>
    <language>en</language>
    <item>
      <title>What Is My [Server] Throughput? (One-Click Audit)
</title>
      <dc:creator>Mathew Kurian</dc:creator>
      <pubDate>Tue, 08 Jun 2021 09:24:19 +0000</pubDate>
      <link>https://dev.to/browserstorm/what-is-my-server-throughput-5bhi</link>
      <guid>https://dev.to/browserstorm/what-is-my-server-throughput-5bhi</guid>
      <description>&lt;h1&gt;
  
  
  Have you wondered &lt;em&gt;how many users can be on your website&lt;/em&gt; at the same time?
&lt;/h1&gt;

&lt;p&gt;But you wanted a test framework that is...&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;More than a benchmark&lt;/strong&gt; (not JMeter or LoadRunner). &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Simulated real users&lt;/strong&gt;. &lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Presentable and quick&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Provides a quick report, something like this:&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqyjoqrotbyto9fl0cpk5.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqyjoqrotbyto9fl0cpk5.png" alt="Screen Shot 2021-06-05 at 11.18.36 AM"&gt;&lt;/a&gt; &lt;/p&gt;

&lt;h1&gt;
  
  
  WhatIsMyThroughput.com (beta)
&lt;/h1&gt;

&lt;p&gt;In this article, I want to introduce to you &lt;a href="https://whatismythroughput.com" rel="noopener noreferrer"&gt;&lt;strong&gt;WhatIsMyThroughput.com&lt;/strong&gt;&lt;/a&gt;. It is a tool that helps gauge whether your website is ready to handle X users concurrently.  &lt;/p&gt;

&lt;h2&gt;
  
  
  Case Study of chaos.browserstorm.com
&lt;/h2&gt;

&lt;p&gt;The &lt;a href="https://chaos.browserstorm.com" rel="noopener noreferrer"&gt;chaos server (which can seem down)&lt;/a&gt; uses &lt;a href="https://www.npmjs.com/package/connect-chaos" rel="noopener noreferrer"&gt;&lt;code&gt;connect-chaos&lt;/code&gt;&lt;/a&gt; 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. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fep6k8p2y82ukvj8oxnpy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fep6k8p2y82ukvj8oxnpy.png" alt="Screen Shot 2021-06-05 at 10.51.21 AM"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Our Test Setup
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Navigated to &lt;a href="https://www.whatismythroughput.com" rel="noopener noreferrer"&gt;WhatIsMyThroughput.com&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;Submitted a test with the following properties&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Property&lt;/th&gt;
&lt;th&gt;Value&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Target URL&lt;/td&gt;
&lt;td&gt;&lt;a href="https://chaos.browserstorm.com/" rel="noopener noreferrer"&gt;https://chaos.browserstorm.com/&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Virtual Users&lt;/td&gt;
&lt;td&gt;32&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The test takes 15 minutes to run, so now we wait.&lt;/p&gt;

&lt;h2&gt;
  
  
  What was the verdict?
&lt;/h2&gt;

&lt;p&gt;Tik tok tik tok... and the results have come in! The test has &lt;strong&gt;failed&lt;/strong&gt;! 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.  &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7milfzrxs88eudv9tr41.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7milfzrxs88eudv9tr41.png" alt="Screen Shot 2021-06-05 at 10.43.55 AM"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What were the errors?
&lt;/h2&gt;

&lt;p&gt;View the test run and errors &lt;a href="https://www.whatismythroughput.com/test/zLaMmkMybK49OUk" rel="noopener noreferrer"&gt;here&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Febgnmh84ig5hvfkhcsds.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Febgnmh84ig5hvfkhcsds.png" alt="Screen Shot 2021-06-05 at 10.44.19 AM"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What then?
&lt;/h2&gt;

&lt;p&gt;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 &lt;/p&gt;

&lt;h2&gt;
  
  
  Custom Flows
&lt;/h2&gt;

&lt;p&gt;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).&lt;/p&gt;

&lt;h1&gt;
  
  
  Pricing
&lt;/h1&gt;

&lt;p&gt;This tool is free for the most part. However, generating higher loads does cost, but that helps maintain it free for most users. &lt;/p&gt;

&lt;h1&gt;
  
  
  Conclusion
&lt;/h1&gt;

&lt;p&gt;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. &lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;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.&lt;/p&gt;
&lt;/blockquote&gt;

</description>
      <category>performance</category>
      <category>webdev</category>
      <category>javascript</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
