You know, for load balancing, etc? I have a VPS and understand you can deploy and run multiple instances and have them share data with database session store and memcached and the like. What I have not been able to find is any information on how this is done?
I am curious about multiple instances (two or three) on a single VPS and also among multiple VPSs.
TIA,
NJ
It really depends on what architecture you’re using. If you’re using mongrel check out mongrel_cluster. If you’re using fastcgi or passenger this is already done for you. One other way would be to look into Heroku which allows you to just change a slider bar for more instances. 45k projects are now hosted on Heroku so if you’re serious about it I think you owe it to yourself to check it out.