Follow Us

We use cookies to provide you with a better experience. If you continue to use this site, we'll assume you're happy with this. Alternatively, click here to find out how to manage these cookies

hide cookie message

Web acceleration on the cheap

Whether it's Apache or IIS, there are ways to make applications run better.

Article comments

There's a lot you can buy that claims to accelerate your Web applications, improve equipment and bandwidth utilisation, and boost the end-user experience but many Web server front-end products are simply beyond the budget. The good news is that you can add many of the same speed-enhancing techniques directly to your Web servers - and cheaply too.

HTTP compression can be added to most Web servers quite inexpensively, or for free. In the case of Apache, mod_gzip or mod_deflate - open source tools you can readily find on the Web - are common solutions.

For Microsoft servers running IIS-6, compression is a native feature and requires a simple configuration change to enable basic features, although detailed configuration can be troublesome without using specialised utilities or registry editing. There is also a thriving market for third-party HTTP compression filters for IIS including httpZip from Port80 Software and TurboIIS.

Do understand that when using compression you should see an increased CPU load on your server but Web servers typically have plenty of cycles to spare because they are network- or disk-bound.

Interestingly, when we tested specialist Web acceleration boxes against IIS-6 native compression, the latter turned out to offer more compression in many cases. For example, in one test with default settings IIS-6 compression reduced 500k to 137k, with the next best result being 162k. While tuning should bring an appliance closer to the IIS result, given that all approaches use the same technology at their heart, that result certainly would surprise most observers.

To help offload servers you may consider setting up a reverse proxy. This is often done using on open source program called Squid. Windows environments often choose Microsoft's ISA Server instead, but consider that your proxy cache doesn't necessarily need to be the same technology as your origin server.

To improve end-user caching you may want to add cache control headers into the output of your Web application or using freeware: mod_expires for Apache or CacheRight for IIS.

If you have load problems because of specialised content such as multimedia or SSL traffic you could simply segment your load using DNS. For example, images.sitename.com and store.sitename.com might be dedicated solely to do specialised work such as deliver images or perform encrypted e-commerce transactions, and have simple link changes balance traffic directly. Making hardware modifications such as adding in a relatively inexpensive SSL coprocessor card such as HP's AXL300 might also be in order for a specialised server.

No hardware or software is required for one of the most important efforts you can make to improve the delivery of a Web site - informing your Web designers and developers that delivery does indeed matter. Un-optimised Web pages can cost an organisation much more in hardware and bandwidth than you might guess.

Simple changes to pages such as reducing the number of requested objects in a page, building the site to be more cache-friendly, rewriting Web pages not to use bulky, table-oriented HTML, or simply removing white space from HTML, CSS and JavaScript may only cut overall file size by 30-50 percent. But this saving will add up over time, and the aggregate bandwidth and server utilisation savings could be quite significant.




Share:

More from Techworld

More relevant IT news

Comments




Send to a friend

Email this article to a friend or colleague:

PLEASE NOTE: Your name is used only to let the recipient know who sent the story, and in case of transmission error. Both your name and the recipient's name and address will not be used for any other purpose.

Techworld White Papers

Choose – and Choose Wisely – the Right MSP for Your SMB

End users need a technology partner that provides transparency, enables productivity, delivers...

Download Whitepaper

10 Effective Habits of Indispensable IT Departments

It’s no secret that responsibilities are growing while budgets continue to shrink. Download this...

Download Whitepaper

Gartner Magic Quadrant for Enterprise Information Archiving

Enterprise information archiving is contributing to organisational needs for e-discovery and...

Download Whitepaper

Advancing the state of virtualised backups

Dell Software’s vRanger is a veteran of the virtualisation specific backup market. It was the...

Download Whitepaper

Techworld UK - Technology - Business

Innovation, productivity, agility and profit

Watch this on demand webinar which explores IT innovation, managed print services and business agility.

Techworld Mobile Site

Access Techworld's content on the move

Get the latest news, product reviews and downloads on your mobile device with Techworld's mobile site.

Find out more...

From Wow to How : Making mobile and cloud work for you

On demand Biztech Briefing - Learn how to effectively deliver mobile work styles and cloud services together.

Watch now...

Site Map

* *