Archive

Archive for November, 2008

CentOS for Linux Servers: a cut above

November 30th, 2008
Comments Off

It has been almost a year that we are using CentOS for all of our new servers instead of Ubuntu Server, and it is a great success! This article describes the few reasons behind our transition from Ubuntu to CentOS. Of-course, there is always something here and there but 99% of the cases are resolved easily and actually have nothing to do with CentOS. If time will permit we will transition all of our existing Linux boxes to CentOS 5.2. Oh, and yes, if you are looking for a solid Linux server distro – it is CentOS hands down.

We noticed that more and more hosting companies offer CentOS as their default distro and recently CentOS can claim at least 1% of all world supercomputers. The support that is offered for CentOS is abundant at this point and clearly targets the more advanced system administrators out there. All in all it seems like CentOS is maturing as a great distro for Linux server purposes.

If you are curious, we are using CentOS 5.2 64 bit by default with no software installed (at all). If needed we use the LAMP stack and the XEN virtualization software, all from the CentOS default repositories.

So, what is your experience with CentOS out there?

LAMP: Linux Apache MySQL PHP, Web Development , , , , ,

Understanding MySQL Query Caching Process

November 5th, 2008

These days, websites are expected to perform. No excuses. I also mentioned before that website performance is key for SEO. Well, one easy thing that can be done is turning on MySQL caching. Most servers ship with MySQL in its default configuration which has caching turned off. There are many resources out there if you search enough, however I have found a presentation by Baron Shcwartz: MySQL Query Cache which explains in detail advanced concepts of MySQL Caching. Here is the slide that summarizes the process of MySQL Query Caching:

LAMP: Linux Apache MySQL PHP, Performance Optimization, PHP/MySQL , , ,

jQuery Emerges as Most Popular Javascript Library for Web Development

November 3rd, 2008

It seems to be official: jQuery is gaining ground faster than any other JavaScript Library. There may be many reasons but I like to think that jQuery is leading the pack due to its simplicity and relatively small size. Here is what Google Trends is showing us:

Top Reasons for jQuery’s ground gaining:

  • Simplicity.
  • Small in size: only 15K for latest production release after its minified and gzipped.
  • Extendable: pretty big plugin library. Currently showing hundreds of plugins.
  • CSS3 Compliant and one of the first JS Library to use CSS selectors.
  • Handles AJAX very well while avoiding code bloating.
  • Major adoption by ASP.NET developers and teaming up with ASP.NET’s team for improved integration

jQuery Resources:

Other Javascript Libraries:

All these Javascript frameworks provide the basic idea of single developer resource for cross browser and cross platform JavaScript development. Additionally, all make AJAX a little bit easier:

If you know of any additional interesting jQuery Resources, drop me a line. Thanks!

.NET Framework, AJAX, Web Design, Web Development, Web-based User Interfaces , , , , ,