Immutable infrastructure can also increase the iteration latency. Building a new image, even if it′s just a Docker image, takes much longer than just copying a few files of code to a development instance. This iteration latency can decrease developer productivity, chiefly when your code base can be run on only a server and can′t be developed locally on the developer′s workstation. One way to mitigate this is to facilitate synchronizing code from the developer workstation to a temporary dev server before the code is packaged and shipped to a Test or Staging environment. This approach balances the need for developer productivity with the advantages of immutable infrastructure.
About the cost of immutable infrastructure is a converse side of its advantage.
Share this highlighthttp://www.safaribooksonline.com/a/seeking-sre/13248115/