Of all the Lean Startup techniques, Continuous Deployment is by far the most controversial. Continuous Deployment is a process by which software is released continuously throughout the day – in minutes versus days, weeks, or months. While the biggest waste in manufacturing is created from having to transport products from one place to another, the biggest waste in software is created from waiting for software as it moves from one state to another: Waiting to code, waiting to test, waiting to deploy. Reducing or eliminating these waits leads to faster iterations which is the key to success (Boyd’s Law).

Last week, I wrote-up a detailed case-study which you can find on Eric Ries’ startuplessonslearned blog. In it I chronicle my transition from releasing software once a week to releasing software continuously.
Continuous Deployment makes releases non-events but the greatest challenge is getting comfortable with releasing all the time.
While it is somewhat easier to continuously deploy web based software, with a little discipline, desktop based software too can be built to flow.

My continuous deployment process is built on the following principles:
-
Don’t push features
-
Code in small batches
-
Prefer functional tests over unit tests whenever possible
-
Always test the User Activation flow
-
Utilize automagic software updates
-
Build in alerts and monitoring
-
Build in application level diagnostics
-
Tolerate unexpected errors exactly once
I often hear the belief that you need a massive team to pull off continuous deployment. I would argue that the earlier in the development cycle and the smaller the team, the easier it is to implement a continuous deployment process. If you are a start-up with a MVP, there is no better time to adopt a continuous deployment process than the present. You don’t yet have hundreds of customers, dozens of peers, or dozens of features. It is a lot easier to lay the groundwork now with time on your side and you need the smaller and faster build/measure/learn loops more than anyone else.
Read the detailed case-study on Eric Ries’ blog.
Related posts:

Founder,