Loading...
Loading

Latest Hosting Posts


Rating:(0 votes cast)
A Web Server Comparison
2004-06-26 by 
shareShare |submitSubmit |rssRSS|printPrint|CommentsComments

Loading...
loading

Almost 70% of sites on the internet are served by Apache, a completely Open Source, free web server. Quite an achievement for open source software, especially considering Microsoft's share is less than 20%

There are other web servers of course, which all provide various other features... I considered quite a few alternatives when building this new server, all of course are Open Source.

The Apache Servers
The biggest, and arguably still the best, web server is Apache which is now available in two variants - Apache 1.3 and Apache 2.0, both have their advantages and disadvantages.

Apache 1.3
A long running, well established, and stable web server that is considered pretty much the standard now.

I have always used apache, for all of my previous sites and servers, and have now come to understand most of it's configuration very well. Also, Apache 1.3 is still considered the most stable platform for PHP, and it's VirtualHost support and the power of .htaccess files for site and even directory specific configuration make it an excellent server for shared hosting.

Apache is the default web server on most Linux distributions, Including my new distro of choice - Debian. This would make it wonderfully simple to install (i.e. do nothing, it's already there) and also I could simply copy across all the old config files and, in theory, they'll work.

On the downside, Apache 1.3 is now showing it's age, and is surely soon to be discontinued now that Apache 2.0 is stable. Therefore, I have decided not to continue to use Apache 1.3.X on my servers.

At present this server is running Apache 1.3, despite what's said above... explained later

Apache 2.0
Apache 2.0 complete rewrite of Apache, only recently considered stable enough for production use, destined to replace the Apache 1.3.X server through time.

At the time of writing, the latest version is 2.0.48, which is their 11th Public Release. I have found Apache 2.0 to be completely stable, even with PHP 4.3x, despite the various bugs that have been reported at times with that combination.

Obviously, having PHP is of the utmost importance to me, considering this whole site (and every other one i've built!) uses it.

Debian doesn't have a package yet for PHP for Apache 2, although Apache 2 itself is there.. I have found a third-party package that provides php4 as a module for Apache 2.0 in Debian, which works great!

Apache 2.0 uses completely different configuration files, which I must admit I prefer, which are close enough to the Apache 1.3 ones that it's not difficult to migrate or to learn to use the new configs.

I had decided to use Apache 2.0 as the primary web server on this server, but it's now changed back to 1.3.X... explained later!

Caudium (Roxen)
Caudium is a completely Open Source web server based on Roxen, with a few unique and very powerful features. I like this server, but it's very different from Apache, and indeed any other web server, It's mainly configured from a web interface, allowing virtual sites to be set up easily.

Where Caudium is truly unique is in it's modules. There are modules for almost everything including the nice tag which renders text graphically (as a PNG), there are also tags for generating 'business' graphics (charts, graphs etc...) and for image manipulation. The RXML markup even supports if / then / else statements and even SQL queries.

There is even a photo gallery modules which, with one tag, will look through a folder of images and generate clickable thumbnails and prev/next links. For rapid development of dynamic site (including nice headings, and tab-based navigation) there is no better platform, It's easy to learn, fast and powerful

However, Caudium cannot handle the same load as Apache, it isn't as efficient, particularly when it comes to running PHP within pages. And I don't want to be developing sites which require a specific web server, it seems to defeat the purpose of everything following standards, I can take this site and deploy it on any server so long as it supports PHP4, if I used the extra tags offered by Roxen/Caudium, this wouldn't be possible.

Caudium is installed on this server, mainly as a development environment which I also occasionally use for generating images, which I then save as static files and can include them in pages served by the standard Apache 2.0 server. It also enables me to host sites that require Caudium for others

thttpd
thttpd is used by several big names including Demon Internet and Global Internet, it's also used by mtv.com and a couple of the leading banner ad companies.

thttpd also includes a couple of unique features not found in any other web server (at least without extra modules) including URL-based Traffic Throttling.

Where thttpd really excels, is in it's speed and load it can take before slowing down or dropping connections. It's also incredibly efficient in it's use of system resources, which is always a good thing.

thttpd is only around 400k (as opposed to Apache which is nearer 6Mb) and has only 7,230 lines of source code. It is incredibly secure, fast, and can handle 720 requests per second (for small files) as opposed to around 300 with Apache. Additionally thttpd is considered very secure.

So why ain't I using it?, Firstly it's not ideal for PHP-based sites, Apache and even Caudium have much better support for PHP and are more flexible. Besides, the upstream on this server could never serve 1000 simultaneous connections, so although I can understand why Demon need something this scalable on their web servers, I dont.

Notes on Apache 2.0
I say above that I like, and use, Apache 2.0 yet this site uses Apache 1.3. Why? The aforementioned third-party module provides PHP support, but not MySQL support. I will not compile it myself, because it confuses Debian's package manager. So until Debian releases a php4 module for Apache 2 in the official sources, I'm sticking to 1.3...

I will, of course, move as soon as that module appears!

DiggDigg 
RedditReddit 
shareShare
news Buffer
harry - December 30th, 2009
Hi,This artical is very useful for me. I am a Share Point developer and always looking tolearn something new. I would like to introduce another good SharePoint blog, Have a look.http://SharePointBank.comHarry
matrimony - January 11th, 2010
great infor, its good that you shared it.
SEO India - April 7th, 2010
Hi ... I just stumbled upon your post.. a gud view point.. Hey ur post left me quenching for more Your post really gives out useful knowledge.. thanks
sam Desouza - April 7th, 2010
This is easier and surely gives comfort to internet users. Thanks for sharing. Post like this offers great benefit. Thank you!Web Design India| Web Development India SEO India
Exchange hosting has changed my business for the better. Easy and efficient!
Iwebhost - May 23rd, 2010
You raised a few good points to look upon.I must add one more thing is that, webmasters mustread few reviews and discussions about the service provider. Mostly read the negative one and ask the host about the negatives of their service, if have time mail some of the reviewer and discuses with other webmaster friends as well.
Iwebhost - May 23rd, 2010
My site is been hosted athttp://www.indianetcraft.comthey are quite good with windows servers as well.
Sorry for the huge review, but I’m really loving the new Zune, and hope this, as well as the excellent reviews some other people have written, will help you decide if it’s the right choice for you.
dries - January 4th, 2011
I always suggest our customers they have to go for an hosted ecommerce application if they don't have the technical skills.With an hosted alternative, the don't have to spend time on solving issues while they could be marketing their own product.And since the hosted ecommerce world is becoming quite competitive, prices will go down in the next few years.Drieswww.solidshops.com
Frisco Plumber - January 8th, 2011
Great information. I got lucky and found your site from a random Google search. Fortunately for me, this topic just happens to be something that I've been trying to find more info on for research purpose. Keep us the great and thanks a lot.
Iowa City Locksmith - February 27th, 2011
Great site you have here. I really enjoyed all of the insightful information you've provided us with and look forward to read more on this site in the future.Great job
Unlimband - September 20th, 2011
Great post Ahmed! Thanks for pointing to the Truth about Unlimited Bandwidth Web Hosting
SEO Companies - September 21st, 2011
This was a very informative article about web server options for both large and small scale enterprises. Although this article is a bit old I still found it very useful.
Aaron Rodgers Jersey - November 14th, 2011
Security should be top priority in domain hosting. Although you may not discover much about the features and effectiveness of a provider's security simply by visiting their websiteRead more: http://www.hostreview.com/blog/Choose_your_Host/articles/091208-Increase-Productivity-Domain-Hosting#ixzz1djNp8GdS
Packers Jersey - November 14th, 2011
Security should be top priority in domain hosting. Although you may not discover much about the features and effectiveness of a provider's security simply by visiting their website
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.