Skip to content
Browse files

Devs can also use virtual envs to get closer parity with prod

E.g. Vagrant + Chef/Puppet
  • Loading branch information...
1 parent a7a1301 commit f050a7a0b4c6839e64d88c6d866869a282fe5ae0 @moredip moredip committed Feb 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 content/dev-prod-parity.md
View
2 content/dev-prod-parity.md
@@ -71,6 +71,6 @@ Developers sometimes find great appeal in using a lightweight backing service in
**The twelve-factor developer resists the urge to use different backing services between development and production**, even when adapters theoretically abstract away any differences in backing services. Differences between backing services mean that tiny incompatibilities crop up, causing code that worked and passed tests in development or staging to fail in production. These types of errors create friction that disincentivizes continuous deployment. The cost of this friction and the subsequent dampening of continuous deployment is extremely high when considered in aggregate over the lifetime of an application.
-Lightweight local services are less compelling than they once were. Modern backing services such as Memcached, PostgreSQL, and RabbitMQ are not difficult to install and run thanks to modern packaging systems, such as [Homebrew](http://mxcl.github.com/homebrew/) and [apt-get](https://help.ubuntu.com/community/AptGet/Howto). The cost of installing and using these is low compared to the benefit of dev/prod parity and continuous deployment.
+Lightweight local services are less compelling than they once were. Modern backing services such as Memcached, PostgreSQL, and RabbitMQ are not difficult to install and run thanks to modern packaging systems, such as [Homebrew](http://mxcl.github.com/homebrew/) and [apt-get](https://help.ubuntu.com/community/AptGet/Howto). Alternatively, declarative provisioning tools such as [Chef](http://www.opscode.com/chef/) and [Puppet](http://docs.puppetlabs.com/) combined with light-weight virtual environments such as [Vagrant](http://vagrantup.com/) allow developers to run local environments which closely approximate production environments. The cost of installing and using these systems is low compared to the benefit of dev/prod parity and continuous deployment.
Adapters to different backing services are still useful, because they make porting to new backing services relatively painless. But all deploys of the app (developer environments, staging, production) should be using the same type and version of each of the backing services.

0 comments on commit f050a7a

Please sign in to comment.
Something went wrong with that request. Please try again.