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 […]


Connecting between Atlassian Jira and Confluence

This article discusses how to establish a connection between Atlassian Jira and Confluence. For those who have not heard about Jira and Confluence: JIRA is the project tracker for teams planning, building, and launching great products. Atlassian Confluence helps connect gaming teams with the content, knowledge, and co-workers they need to get work […]