Deployment is always a hot topic. There are developers, most of the time including myself, who do not worry about deployment, until it becomes a problem. Updating one node is never too much of a problem. The average developer can do it in a couple of minutes. But can you still do this with a multi node installation. Do you suddenly need half a day?
As this is the last recipe, I will not provide you with a solution, because it does not exist. There are a dozen ways of deploying nodes:
Check out the application from VCS and run it. Pretty simple. However, do you also keep Play itself in the VCS? How do you keep that updated?
Start some shell script from one main node, which copies everything via
scp
orrsync
. Great, but you still need to restart. How do you handle database upgrades?You can use BitTorrent. Twitter does this to deploy tens of thousands of nodes in well under a minute. They use a self-written system called murder, which is available at https:/...