tags:

views:

39

answers:

1

How would I go about creating an Codeigniter application that resides on multiple servers and has a hook that sends users to different instances based on the load balance?

A: 

I personally wouldn't use a CI hook per-say I would use ngnix or apahce2 as your load balancer / gateway to your app. And if you are worried about load first ensure you are using Memcached (or similar) to try and take the load off your main DataSource and if applicable use a CDN for your images/js.

dryprogrammers