Load Sharing with DNS

This article discusses on how to do Load sharing with DNS (Domain Name System). Introduction: A DNS based approach is a classical approach to sharing the load between multiple servers. DNS responds to domain name look-up requests issued by clients and returns the corresponding IP address. DNS is an Internet […]

How to Install and Configure X11 with Remote VNC Access on Centos 5

The instructions below will walk you through the process of installing the X window system, GNOME desktop environment, and configuring VNC so that you can access it remotely. yum -y upgrade yum -y groupinstall “GNOME Desktop Environment” yum -y install vnc-server As a general rule of thumb you should never […]

Setup MySQL Replication

This tutorial describes how to setup MySQL replication. MySQL replication allows you to have an exact copy of a database from a master server on another server (slave), and all updates to the database on the master server are immediately replicated to the database on the slave server so that […]

Website redirect based on location

Website redirect based on location scenario : You have many websites targeting for different user countries. For example: vn.domain.com for Vietnamese users, us.domain.com for US users. You want to allow your users to browse your website as fast as possible, and you have 1 server in Vietnam, 1 server in US, 1 […]

Serving static files: a comparison between Apache, Nginx, Varnish and G-WAN

Have just read a great article about serving static files among  many popular web servers. So I paste it here for future reference. This articles is published under this link. Update 1 (Mar 16, 2011): Apache MPM-Event benchmark added Update 2 (Mar 16, 2011): Second run of Varnish benchmark added Update 3 […]

Some MySQL performance tips

This article discusses about some MySQL performance tips which are collected over Internet and based on the experience of the author (me ^__^). Specific Query Performance Tips (see also database design tips for tips on indexes):  Use EXPLAIN to profile the query execution plan  Use Slow Query Log (always have it on!) […]

CSS3 for Internet Explorer 6 -> 8

Althought CSS3 is currently fully supported by recent browsers, there are many problems when finding a “falling back” solution for IE <= 8. We can surely change the way we display HTML code, or use javascript for some contents, but these are also not in our favor. Fortunatelly, there is a library called Selectivizr providing an “IE-CSS3 library” http://selectivizr.com/. […]

Introduction to SAML

General Concept Security Assertion Markup Language (SAML, pronounced “sam-el”) is an XML-based open standard data format for exchanging authentication and authorization data between parties, in particular, between an identity provider and a service provider. SAML is a product of the OASIS Security Services Technical Committee. SAML dates from 2001; the most recent update of SAML is from 2005. The single most important problem […]