I'm wondering what people have found to be the best method for managing magento's code base in a HA cloud / auto scaling environment. I'm currently planning to share the media directory over NFS, using AWS's CDN to cache both the CMS and product images.
Whilst NFS would make managing the code base simple, i figure the amount of extra network traffic would slow things down (even though varnish will be caching what content it can). We deploy code from github, so i figure webhooks could be an option, but managing these with servers automatically coming on and off line could be tricky.
Any experience, thoughts, must avoids would be very greatly received.
*After thought: Would like to experiment with the performance difference when using mage compiler too, which could make managing a 'synced' code base more challenging / need some more clever scripting.