Technology Tales

Adventures & experiences in contemporary technology

Web Servers

Without web servers, we would never have websites and the web would not exist. While the machines are a variation on the PC theme, it is the software that does the job is what I want to highlight here. Microsoft’s Internet Information Server (IIS) would be an example of a proprietary option but what I want to mention are its open source alternatives and it is these that largely dominate the market because they will work on operating systems like Linux or BSD UNIX.

Apache

Apache is more than just a web server because it is a whole collection of software projects that have their own open source licences, which are more permissive than GPL (GNU Public Licence). One of these is HTTPD (HyperText Transport Protocol Daemon) and it is that which gains the Apache name here. My impression is that it was the first of series of projects that now includes OpenOffice among their number as well as Tomcat, which is a Java server page platform that sounds as if it is based on HTTPD. There also is a story that the Apache name came from the nickname of “a patchy server” but I cannot confirm the truth of that.

As well as serving (X)HTML files, HTTPD usefully allows server side web scripting using a variety pof languages such as Perl, PHP, Python and Ruby. With one of those, databases like MySQL, PostgreSQL or MariaDB can be used to power content management systems like WordPress and Drupal as well as other web applications. NoSQL databases probably are possibilities too. Client side scripting with the likes of JavaScript was made possible to complete the set with CSS being used to make things look better. The basic platform certainly allows a lot of possibilities that were not imagined at its inception around twenty years ago.

Nginx

Nginx (pronounced Engine X) is a more recent upstart that has grown in favour because of its different way of handling multiple processes at the time. It appears to support the same technologies as Apache HTTPD and I have had a go with it on a VirtualBox virtual machine running CentOS. So far, that has not got so far but this experiment is set to continue. Notable users include WordPress.com and Fasthosts so it certainly is gaining acceptance. The perceived robustness of performance is the driver for that though some websites that I have are not great demonstrations with more outages experienced than is ideal, one I have running on Apache appears to have less downtime. The offline server that I have appears to exert a greater load on a system than Apache too but this needs further investigation because it may be caused by a sub-optimal set-up due to a lack of experience on my part.

  • All the views that you find expressed on here in postings and articles are mine alone and not those of any organisation with which I have any association, through work or otherwise. As regards editorial policy, whatever appears here is entirely of my own choice and not that of any other person or organisation.

  • Please note that everything you find here is copyrighted material. The content may be available to read without charge and without advertising but it is not to be reproduced without attribution. As it happens, a number of the images are sourced from stock libraries like iStockPhoto so they certainly are not for abstraction.

  • With regards to any comments left on the site, I expect them to be civil in tone of voice and reserve the right to reject any that are either inappropriate or irrelevant. Comment review is subject to automated processing as well as manual inspection but whatever is said is the sole responsibility of the individual contributor.