Publié le - 43 visites -

How to do stress tests

The stress test is fun. In the first place it seems that the objective is to check whether the system is functioning under a given load. In reality, it is common for the system to operate under a given load, but somehow fail when the load is large enough. I call it "hitting the wall" or "bonking". There may be exceptions, but there is almost always a “wall”. The goal of these stress tests is to target where the wall is, and then determine how to push it further.

A stress test plan should be developed early in the project, as this often helps clarify expectations. Two seconds for a web page request, is that a miserable failure or a smashing success? Are 500 simultaneous users enough? It depends, of course, but you have to know the answer when designing the php website development system that meets the demand. The stress test must be realistic enough to be useful. It's not really possible to easily simulate 500 erratic and unpredictable humans using a system simultaneously, but you can at least create 500 simulations and try to model some of what those humans might do.

In a stress test, start with a light load and load in certain dimensions, such as entry rate or entry size, until you "hit the wall." If the wall is too close to meet your needs, target the resource that is the bottleneck (there is usually a dominant one). Is it memory, processor, I / O, network, bandwidth, or data contention? Next, determine how you can move the wall. Note that moving the wall, that is, increasing the maximum load that the system can support, may not help or could adversely affect the performance of a lightly loaded system. Usually, heavy load performance is more important than light load performance.

Les publications similaires de "Learn about the web design"

  1. 14 Sept. 2021The Future of PHP: 10 Best Practices and Tips for Continuing Success10 visites
  2. 26 Juil. 2021Go to the next level of engagement29 visites
  3. 19 Avril 2021Discover the Koddos concept and their stratergies61 visites
  4. 11 Mars 2021Php development is about website improvement and wealth82 visites
  5. 20 Fév. 2021Angular the code that runs Wix, Forbes and Weather127 visites