pycon logo

PyCon 2011 Atlanta

March 9th–17th

Log in or Sign Up

Continuous deployment

log in to bookmark this presentaton

Experienced / Talk
March 12th 1:35 p.m. – 2:05 p.m.
This talk is about continuous deployment practices and tools, lessons learned from implementing it, and putting them into perspective. The goal is to give other people tips and pointers for applying these ideas themselves.

Abstract

Continuous deployment is the practice of putting the latest revision of software into production use all the time, as opposed to working towards larger releases. The important difference is iteration time: whereas large software packages produce new software in timeframes of years or months, continuous deployment teams typically put new code into production in timeframes of hours or less.

The practice is slowly attracting a small but growing group of loyal followers, just like continuous integration over the past few years and test-driven development did before that. They can be explained in terms of being natural extensions of each other. Like TDD and CI, CD gets eyed somewhat suspiciously (and rightfully so: skeptical analysis is great), but the undersigned believes there's a legitimate advantage for many applications.

Many years ago, TTD and testing tools in general were mostly ad-hockery. Now, with many different production-quality testing tools, this has become unthinkable. Similarly, continuous integration was something other people did for a long time, but now we have tools such as Buildbot and Hudson. Continuous deployment is still somewhat in the early stage in terms of ready-to-use tools, but it's likely that we'll see a similar evolution.

Here's a rough outline of what I plan to cover:

  • a short history of people developed software
  • from the recent models to CD (sort of a working definition of CD here)
  • when is it a good idea? pros/cons
  • requirements & battle plan for applying CD in an existing development environment (and possibly code base)
  • an overview of existing tools and how they work together
  • caveat emptors, known pitfalls (deployment and recovery strategies go here, since most implementations figure out they need them after stuff blows up)
  • questions! (hopefully lots of people who've tried or are thinking about implementing something similar -- like I said, there are a lot of people implementing it but not too many ideas being bounced around)