The post Performance Testing: Latency, Load, Stress, or Soak? appeared first on HostGator Blog | Gator Crossing . How well does your web hosting perform? Are you sending web pages in a timely way to visitors to your site? Is your application correctly handling simultaneous requests? Do you actually know what can be measured – and which measures are relevant to your situation? Web hosting performance testing can give you valuable information that can let you keep visitors longer on your site, make sure you can accept the right number of simultaneous visitors, handle overload situations and detect possible design or programming deficiencies. Latency or How Long It Takes to Get Back to a Visitor Let’s start with the case of just one visitor (naturally, you’ll probably be aiming for rather more, but we’ll discuss this below.) Normally, you want the response time for that visitor to be as fast as possible. In other words, between the moment when the visitor clicks to send you a request and the moment the visitor sees your response, the least time possible should elapse. This ‘latency’ can however be determined by several different things, including the power of your web hosting platform, the size of your network connection and the power and network speed of your visitor’s computer. You can improve the first two, but the last two are out of your control (although keeping your web pages simple may help.) Performance Under Load Ideally, you should have an idea of how many visitors are likely to access your web hosting platform at the same time. If this is not feasible, then you should at least know how many average or typical users can actively work with your site simultaneously, and plan ahead for options to increase capacity if you need to. Different solutions, either free or paying, online or in-server, are available for conducting load tests with up to a few million simulated users or more. Whichever solution you choose, make sure your test is representative of both user numbers and types of activity, including number of pages called per hour, number of requests for database information, ‘think time’ and so on. When It’s All Just Too Much If your web site is significantly more popular than you imagined, your web hosting facility may not be able to cope with all the traffic. Then what happens? Does your site send out a polite apology about lower performance while stopping any new connections, or does it just crash without warning? Stress tests are designed to find out what (really) happens under conditions of excessively high loads. How much this affects you will depend on what kind of website you operate. A web site for a bird spotting association that simply crashes may just be an irritation. A web site selling hot new fashion articles that simply crashes could lose you important revenue and customer loyalty. A More Technical Test The soak test is done by starting your web site or application and leaving it to run (normally) for an extended period of time to see whether this produces any abnormal conditions either in the application or in the web hosting platform it runs on. One example would be memory leaks, a common enough problem when an application uses some main memory, but fails to return it for general use when it’s finished with it. Testing for these kinds of conditions typically requires technical expertise, for example by the person or team designing the application in the first place. Finally, Who is the Judge of ‘Good Performance’? Performance, ultimately, is all about making sure customers or end-users are satisfied with what they experience. Your web hosting platform may be supercharged in processor power and memory, yet they may still complain. Or it may be far more modest and still reply adequately to user expectations. Falling traffic and user comments on your blog (or similar) may indicate a problem, but prevention is always better than cure. There’s only one way to find out what users really want, and that’s to ask them. Armed with this information, you can then do the right performance tests and confirm or tweak afterwards, as appropriate. ***** Author Bio: Natalie Lehrer is a senior contributor for CloudWedge . In her spare time, Natalie enjoys exploring all things cloud and is a music enthusiast. Follow Natalie’s daily posts on Google Plus , Twitter @Cloudwedge , or on Facebook . Image source: https://www.flickr.com/photos/video4net/4102797678/in/photolist-7fxUP1-csmoYf-7C3yps-9RCj9C-ahC6R9-zhLTR-65ho4J-65hog3-65d6Gc-65d7Ex-65d7ug-65d7i6-9ME8p3-aWJPyZ-65jBWR-7C3ypb-7C3yoN-7BYKHv-7C3yoY-4Whues-9oXHMe-4So2a5-wEq41-6F8avn-xvcic-dzZjrH-4So2pQ-9kzTZu-ayfSbd-zhMYn-ahCo27-8KtMnD-5NFE6D-9ME8pd-8kQ3b-4So2Zo-4SiPLi-8p1sAC-hYuBDZ-9ME8p9-9ME8ph-deYPPh-ahzkA6-zhMYj-xvcia-enp8Um-ahC7HY-ahCnjS-ahzA8t-ahCns5 web hosting
-
Recent Posts
Recent Comments
Archives
- September 2019
- August 2019
- July 2019
- June 2019
- May 2019
- April 2019
- March 2019
- February 2019
- January 2019
- December 2018
- November 2018
- October 2018
- September 2018
- August 2018
- July 2018
- June 2018
- May 2018
- April 2018
- March 2018
- February 2018
- January 2018
- December 2017
- November 2017
- October 2017
- September 2017
- August 2017
- July 2017
- June 2017
- May 2017
- April 2017
- March 2017
- February 2017
- January 2017
- December 2016
- November 2016
- October 2016
- September 2016
- August 2016
- July 2016
- June 2016
- May 2016
- April 2016
- March 2016
- February 2016
- January 2016
- December 2015
- November 2015
- October 2015
- September 2015
- August 2015
- July 2015
- June 2015
- May 2015
- April 2015
- March 2015
- February 2015
- January 2015
- December 2014
- November 2014
- October 2014
- September 2014
- August 2014
- July 2014
- June 2014
- May 2014
- April 2014
- March 2014
- February 2014
- January 2014
- December 2013
- November 2013
- October 2013
- September 2013
- August 2013
- July 2013
- June 2013
- May 2013
- April 2013
- March 2013
- February 2013
- January 2013
- December 2012
- November 2012
- October 2012
- September 2012
- August 2012
- July 2012
- June 2012
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- March 2011
- November 2010
Categories
Meta