Speed up your product development without losing control
It may seem that digital technology is making every aspect of business move very fast. There are real benefits to this real-time business capability: getting to market faster, capturing value more quickly, immediate responses to customer needs. For example, in a previous article, I described how Amazon’s ability to continuously release software changes (eight thousand a day, one every eleven seconds) crushes competitors that make one batch change every six weeks. But what about the risks? Doesn’t high speed carry the inherent risk of losing control?
Not necessarily. As Andy Singleton, CEO of Assembla, explained to me, continuous deployment can be cheaper and carry less risk. It is cheaper because of automation and because small development teams need less coordination and supervision. And the risk can be managed through a new kind of tool called “feature gates.”
Here is a quick look at how Google and HubSpot have managed to achieve remarkable speed in releasing products while, at the same time, reducing risk.
Google’s automated testing machine
For decades, large IT projects have failed and been shelved because planners could not anticipate all the interdependencies of new software within the extreme complexity of large software code bases, within the extreme complexity of large software code bases. To test new software before release, managers of large projects use elaborate testing procedures conducted by teams of “quality assurance” professionals.This traditional testing takes weeks or months and still fails to find all the bugs. To manage new software releases at its large scale, Google replaced traditional testing systems, which depend on people, with a testing machine, known as a “continuous integration” system. It is a copy of its production system that runs special programs that test how the component services work together. Continuous integration and automated testing are important for all modern large-scale software development. Google’s operation stands out for its scale. Its system is continuously building and deploying more than five thousand components (services) and running one hundred million tests every day.
Google’s testing machines are built and run by the “test engineering” group, whose size is about 15% of the total number of developers. This group only builds the automated testing systems – they do not do the testing. Test engineers think hard about creating incentives that motivate developers to fix problems and design effective tests. For example, they provide dashboards that report problems by developer. As developers make changes, they are tested against the latest version, which includes all the other changes. If a test finds a problem, it can tell developers whom to contact to solve it – directly, without going through intermediate managers.
Google combines automated testing with a related process that requires a human peer to review code changes. Together, automated testing and peer review can provide a high level of quality control that frees Google developers to really work on the changes needed. Every Google developer is empowered to make changes to any product – or multiple products – subject to the testing and review rules. In some cases, they can go from an idea to a software release in 48 hours.
HubSpot’s small development teams and “feature gates”
HubSpot provides software “inbound marketing” tools for small and medium-sized businesses to attract prospective customers to their websites. Singleton told me how HubSpot redesigned its single, old software application into a vibrant matrix of 200 small software “services” (an architecture like Amazon’s and Google’s), which allowed them to go from traditional new software release cycles, measured in weeks, to a flow of 100 changes a day. HubSpot replaced its old software with new code in about a year, gradually building new services and steadily reducing the effort on the old code base. HubSpot’s new product quickly overtook the old product and is now adding new features and moving into related categories at a rate that makes it a serious threat to competitors.
HubSpot organized its developers into small teams (a “tech lead” and two programmers) working on small software functions (“services”). There are about twenty of these teams, each maintaining about ten services. The teams are empowered to do as much as possible, as quickly as possible. They have responsibilities in all areas, including design, programming, testing, release, monitoring and response to production problems. They get operational information about the services they own – such as speed and errors – on a real-time dashboard and receive customers’ questions and complaints.
“Feature gates” is a sophisticated, proprietary tool that HubSpot uses for configuration, release and monitoring. The tool allows them to turn certain features on or off, for all customers, for groups of customers or for individual customers. A switch decides who can access new software depending on its status, such as “hidden” (nobody sees it), “test” (internal testers only), “beta” (selected external testers) and “revealed” (everyone sees it). New features can go through an extended period of various kinds of testing (beta testing, usability testing or “A/B testing”). Feature gates support and manage risk by letting developers continuously build and release hidden features without waiting for reviews by testers or product management.
To remain competitive, almost all providers of online services and “Software as a Service” will need to move to continuous delivery as Google and HubSpot have. The leaders, such as Amazon and Facebook, have already made the shift, with major transformations under way at places like LinkedIn and Netflix. Industries that rely on a wide range of software-based services, such as banking, are not far behind, with a growing number of competitors building and testing new products online.
It is only a matter of time before we see these models applied across all industries, in hardware and other products. For example, chip designers are running continuous integration on their chip simulations and adding optional features to their chips that can be turned on or off during manufacturing. More broadly, as more and more management practices are transformed by digitization, cutting-edge software development tools and practices like these will facilitate, in general, more open and flexible product management.