Stress testing and load testing your website
Jul2Written by:
2010/07/02 11:29 AM
A website or blog’s load time is pivotal to it’s success. Studies have shown that the highest cause of users abandoning a site is because it takes too long to load.
It’s a strange world we live in where patience is not the order of the day. We have faster computers, faster internet, better looking websites, interactive sites. Yet users still want that instant gratification.
It’s a never ending spiral. The more you put into your site to make it more attractive and interactive, the faster users expect it to load.
Google Incorporating page load into rankings
Google has incorporated site speed into their ranking algorithms. Although not a significant part, it is Google's way of suggesting to us to get our sites to load faster.
Google’s official blog post about site speed encourages users to test their website load times in order to evaluate and improve.
More than just page load times
Stress testing and load testing is more than just measuring the load times of a page. It’s about seeing how well a site and server operates under load.
When requesting a page speed test the results are normally shown on a 1:1 basis. That is how one user experiences your web page as far as speed is concerned.
But in the normal world we are not dealing with just one user. Stress and load testing sees how well you site does when multiple users browse multiple pages within a given period of time.
An average blogger might not be too concerned with stress testing at the moment. But if you ever desire to reach the kind of page views that a lot of the A-list blogger get, then you better be prepared.
With some reaching to about 100,000 page views a day. Which works out to just over 1 page every second.
The question is, can your current hosting, server, and application environment handle this kind of traffic?
If your website or blog is currently on a shared hosting package then this becomes even more important as your site or blog grows.
But what’s more important is that we do not know the load of the other 100’s of sites hosted on the same server are. They could well be pulling down your site speed.
What is website stress testing?
Most people think that throwing bandwidth at a site will sort out the speed problem. This is so untrue. Most site problems are as a result of servers, web servers, data servers, proxies, routers, etc, not being able to service the many requests per second.
You can have 100 gigs of bandwidth but a badly written application, an over loaded server will slow you down to less that a 1200 modem.
Look at what happened with the FIFA 2010 Soccer World Cup ticket sales. The system crashed time and time again because of being over stressed. Too many users buying World Cup tickets at the same time. I wonder how they stress tested their applications?
Web site stress testing tools simulate thousands of users accessing your website in a random fashion. It then determines how many concurrent users your site can handle, or how well your site performed under the given conditions.
Many website stress and load testing tools give an idea how your website will perform under given load parameters.
It is better for your website to fail under a simulated load test than when a user or potential customer is trying to access it.
Stress and load test tools generate simulated user traffic to your site. For example it might simulate that 50 users are trying to load your web pages at the same time. While simulating the traffic from these 50 users, it also records how fast pages are loaded from your server. This lets you know how fast your site is (as experienced by a user) when it is being accessed by 50 users at the same time.
Win your very own website stress test
That’s right, I will conduct a simple stress test for you on your site or blog. I will simulate a maximum of 10 concurrent users for two (two) minutes browsing 5 pages.
This test will be free. Well sort of. It is available to the first five users and readers who do a little something for me. That’s right, you scratch my back and I scratch yours.
In order to win, write an article about me or my blog or about a topic on my blog. Link intelligently to it. Promote it amongst your readers and Twitter friends and you will win the free stress test.
The first five (5) readers to do so will win the free stress test. Let me know either in the blog comments or by DM through Twitter. My Twitter id is @robertbravery
If your website can handle more than 5 users per second or 5 Page Views per second then you could probably handle 100 000 daily page views. That’s if nothing changes.
Related Reading:
10 Tips to Speed up and Optimise Your Site
Google Site Speed Factor for PageRank – Your opinion?
When was the last time you had your site reviewed?
Remember you can win a weeks worth of free ad space just for commenting. The best comments during the week will get a weeks free advertising space. Check out: Win free advertising for your blog
New here, or perhaps you've been here a few times? Like this post? Why not subscribe to this blog and get the most up to date posts as soon as they are published.
Get involved in our community. Help promote other bloggers. List your blog in our directory for bloggers. Blog Directory for Bloggers
blog comments powered by