October 23, 2008 Generally websites average a ratio of 9:1 or more for reads:writes for their applications which makes MySQL replication as one of the ways to scale you web application. The simplest configuration is to separate reads and writes with all the reads coming from the slave servers. MySQL Database replication We can implement this in codeigniter using database groups. Below is a sample