When diagnosing performance problems with our clients websites, it is not uncommon for the bandwidth to come into question. Very often, the bandwidth chart will show a distinct plateau and it can be difficult to determine if this is cause or effect. This example shows outgoing server bandwidth (green) as the users (blue) ramp up. It could be interpreted as a bandwidth limitation around 8Mbps. In this case it is not – the limitation is elsewhere in the system.
It can be challenging to prove that bandwidth is the problem. If the bandwidth is not reaching the known limits (i.e. what the hosting provider has promised), the process generally involves a lot of theorizing, hand-waving, finger pointing and meetings with various vendors and support technicians. The net result is frequently a lot of wasted effort without proving anything. We choose a different approach: it is much easier to prove that bandwidth is NOT the problem – by testing beyond the limit in question. In the above example, if we can run a test showing sustained bandwidth well above 8 Mbps, then we can rule out bandwidth and move on to investigating other possibilities.
There are many tools and techniques for testing bandwidth and most of them are indispensable for answering certain questions. Some of them are as simple as downloading a large file and calculating the net speed. Others use specialized software to take detailed measurements. Network administrators often have tools at hand for testing raw link speed. But none of these test under the same conditions as a fully-loaded website.
We like to measure what we call Web Bandwidth. Web Bandwidth is the effective throughput at the HTTP layer for a representative number of concurrent network connections and transactions. It includes the full path that the HTTP traffic will take when real browsers are hitting the web server – this includes firewalls, load balancers, etc. It does NOT include the application layer – the application logic, database, etc.
What factors are important when measuring web bandwidth?
As you may have guessed, a load testing software is an excellent tool for measuring web bandwidth. The upcoming Load Tester 4.1 release includes a new feature to make this even easier. The Bandwidth Test wizard asks you a few simple questions and instantly builds a testcase optimized for testing your web bandwidth — automatically taking into account most of the factors listed above. Combine that with our cloud-based load engines and you can effortlessly and reliably measure the web bandwidth of your site and confirm (or deny) that bandwidth is limiting the performance.
Chris, Chief Engineer