by Nicolas Jacobeus, on 17 January 2018
Every time you use Amazon, Gmail or Facebook, you are using the latest version. In fact, the software may have been updated 15 times that day already.
The average user won’t even notice. But continuous delivery is a big deal for software developers and users alike. It means developers can deliver small enhancements as soon as they are ready instead of waiting for the next big release. For the user, it means the latest version is always the one they see.
You don’t have to be a giant in the tech space to benefit from continuous delivery of code. In fact, startups may benefit most, as it helps them reach product-market fit faster. Compressing the time to market addresses one of the biggest problems startups face: time. With continuous delivery, feedback is faster, and you can adapt faster. In fact the benefits extend even further.
The ultimate benefit of continuously delivering code enhancements is fast, efficient response to the market.
When you’re operating a startup, nothing spells death like running out of time. Reaching product-market fit is one of the most important challenges for a startup company -- and achieving it sooner rather than later makes a huge difference.
For startups, continuous delivery gives you the opportunity to rapidly respond to user demands, fix bugs and pivot or persevere according to feedback from your early adopters. Joel York discusses the importance of creating a continuous loop of customer feedback and product development in the context of SaaS startups. In that process of listen, build, deliver...listen, build, deliver...continuous delivery is almost mandatory.
In a DevOps culture, your software team will be operating more efficiently. Since continuous delivery requires automation for components like testing and deployment, developers have more time for productive work. Eugene Kenny at Intercom points out that it helps new team members become productive faster. He also notes that it removes temptation to route around bugs that would be tedious to address head on in a traditional environment.
We regularly see this increased efficiency firsthand. Recently, Belighted worked with the Sortlist app startup development team to implement these best practices resulting in approximately 20% improvement in productivity.
Continuous small changes carry a lot less risk than making big, sweeping changes. If your product incorporates updates frequently, you run less risk of alienating early users since they can adapt easier to changes bit by bit. The risk of moving in the wrong direction is also mitigated somewhat, since the commitment to improvements is incremental.
When we are working on software, whether for our own projects or for a client, we are able to address bugs quickly. Thanks to continuous delivery, we can deploy code 30 minutes to an hour after learning of a bug, which greatly minimizes any impact.
Continuous deployment may bring some benefits that don’t immediately come to mind but are nonetheless important, especially for startups grappling with measuring costs and progress.
Continuous delivery of code enhancements helps costs become more apparent, progress more easily measured, and innovation a natural trait of your team, as Dan Quine, a startup tech entrepreneur and lecturer points out.
While the Intercom team is now large and deploys code over 100 times per day, it started working on automated deployment systems when there were only six people on its team.
Consider the case of Facebook, also. The study Continuous Deployment at Facebook and OANDA examined Facebook data from 2008-2014. During that time, the engineering team grew by 20X and the size of the code base by 50X. The authors concluded this occurred without negatively impacting developer productivity or software quality because of a commitment to continuous deployment.
In a DevOps culture of collaboration, various departments work together to help deliver software rapidly. There is an emphasis on automation and monitoring at all steps of software construction, aiming at shorter development cycles, increased deployment frequency and more dependable releases in close alignment with business objectives.
To imagine how continuous delivery works, picture the common stages in software deployment: build, integration, testing and production release.
First developers build code. In order to build code, they need to take a copy of the current code base to work on it. As he or she (and other developers at the same time) make improvements, it moves away from the existing code base that end users are using.
Then the new code must all be integrated with the existing code. It used to be that software builds were integrated infrequently, often quarterly. Now teams that use continuous integration (CI) will merge all developer work on a product several times a day.
The new code is deployed automatically to a pre-production environment for testing. Testing in the pre-production environment is a big part of continuous integration. Tests can be manual, automated or a combination. This frequent integration and testing saves a lot of time by reducing conflicts and finding errors earlier. See how we test our Rails projects.
Once testing is complete, the code is released into production, meaning it becomes part of reality for users.
Continuous delivery refers to the process that makes it possible for every change to be deployed to production (released) automatically. The team can choose not to automate deployment in certain instances, for example for business reasons. (It’s called continuous deployment when they automatically deploy every code change to production. In this case, there is no human intervention unless a test fails.)
If you want to read more on the definitions of continuous integration, continuous delivery and continuous deployment, the folks behind Jira and Trello at Atlassian do a great job of explaining CI and CD.
If you are building a new software product and you have no users, you can begin immediately incorporating these concepts. You will reap the benefits such as finding product-market fit faster from the start.
However, if you already have an application and people are using your software, you will want to approach these changes through a cadence. Start with continuous deployment to staging, letting your software development team deploy their changes to the pre-production environment faster, where testing can take place. Next, move onto continuous integration, which will involve automating tests. Start with automating unit tests, and then move onto improving automated testing until all three types of testing can be accomplished automatically.
Perhaps even more important than setting up the process is preparing the mindset at your organization.
If your team is not using continuous integration, it will require a shift in thinking to move to continuous delivery or deployment. Often the shift must happen first in the company leadership. And it will affect your whole organization. Consider the roles of customer support and marketing, for example, when you are changing from occasional updates to frequent minor updates for users.
Continuous deployment requires continuous investments in educating and coaching developers as well as in building, improving and maintaining tool infrastructure. As we see with the success of small and large firms alike, the benefits are well worth it.
Would you like to discuss how to set up a continuous integration process for your development team? Book a Scoping Workshop with us today.
Everything You Need to Know About Moving to a SaaS Model.
Get the guide now >