Today’s users (or customers) have rapidly evolving needs, are mobile, and expect 24/7 connectivity and reliability. As software product developers and vendors, we need to release updates frequently to satiate our users’ needs or else we risk losing them to competitors or alternatives.
What do we do to stay ahead? As software developers, we step up to the plate and:
Speaking to the last bullet point, the unfortunate truth is that frequent change increases the likelihood of production errors and instability. Also, with frequent deployments often come some application downtime and disrupted users. Sounds like no fun.
How do we release updates frequently without disrupting user experience while ensuring release quality?
Here are two blockers:
These two issues hold us back from delivering awesome updates frequently, while ensuring quality end user experience. So let’s start but addressing them in order to become DevOps mavens that deliver only the highest quality of software.
Now that we’ve broadly identified two blockers that stand between us and DevOps utopia, let’s address them one by one.
Developers enjoy streamlined processes with their collaboration and build tools to produce releases effectively.
However, the folks that release software through QA, staging and to end users do not share the same good fortune. Quite often, they get artifacts, scripts and resources from different members of the team, and run them in sequence in order to deploy and test the application. If one of the scripts happen to be erroneous or of the wrong version, the deployment will fail. This lack of coordination and automation greatly slows down the release process.
Here’s a plan for you.
Step 1: Collaborate Team-wide
The first step to addressing inconsistent release processes is to get everyone on the same page, acknowledge the problem, and collaborate to:
Start with small opportunities that can bring big improvements.
Step 2: Automate
Once you have an optimized release process – not just in terms of tasks but also in terms of assembling and grouping release deliverables in a more consistent manner, look to automate repetitive and error-prone processes. Time and effort saved here can be put towards works on projects that innovate and add value to your users.
Depending on how far along your are on your project or product lifecycle, you can attempt to automate your optimized release process. Check out this report titled “Release Management for Enterprises” that discusses the issues and solutions to release management. It then goes on to building an automated release pipeline that can enable you to practice continuous delivery. What you will need is:
The image above lays out what you can achieve when you safely automate your release pipeline with all the right checks and balances.
Now you’re ready to increase release velocity as needed, to the maximum.
By automating your release pipeline by addressing each of the steps in the release pipeline, you have already set yourself up for continuous delivery while ensuring that quality is not compromised.
However, no amount of preparation can ensure predicted results in production. Users tend to use software in the most unique ways that lead to undesirable outcomes. Network traffic, third party services and local ISPs or browsers can do just as much damage to user experience. The internet is rife with accounts of websites going down, causing brand damage and revenue. These outages are significantly noticeable and very public.
What About the Subtle Changes in Quality?
This is where the right tools – such as Stackify – can help identify prime violators that degrade application performance and behavior and diagnose them.
Look for Symptoms
Monitoring your application for performance and behavior, in production environments should be an ongoing activity. A keen insight into your application and infrastructure health can reveal snags that would otherwise go unnoticed. You really want to look for symptoms that compromise end user experience, such as:
Diagnose Issues and Make Decisions
Furthermore, you should be able to diagnose why these symptoms occur. Are they because of poor code, network conditions, server capacity or third party services? What do the logs and diagnostics say? What conclusions would you make based on the evidence?
The goal is to clearly understand the root cause of issues that impact your end user experience and make decisions on what can be optimized to ensure that the symptoms don’t occur again.
A Feedback Loop for Continuous Improvement
Especially in the case of continuous delivery, constant monitoring is a necessity. Identify symptoms with their diagnostics and action items should be taken into consideration for the next development iteration.
The goal is continuous improvement. To push farther to improve application quality and user experience with each release. This of course comes with the added benefit of catching issues early and holding parties accountable for services they provide.
Next Steps – Get Your Own!
That’s right. You can build your own automated release pipeline to practice continuous delivery safely and put a strong feedback loop in place to diagnose issues before your end users see them. Most of the tools required are either open source (Jenkins, Artifactory, Arquillian, Selenium), can be acquired for free (LiveRebel, GitHub).
Tools like Stackify are critical to make that production feedback loop quick. You need to know quickly when production problems arise and you need be able to troubleshoot them even faster. Sign up for a free trial of Stackify today
If you have any questions or comments, send me a tweet at @LiveRebel. Enjoy!
Guest Post by Krishnan Badrinarayanan
Krishnan is the product marketing manager for LiveRebel, ZeroTurnaround’s release automation tool that takes software to users quickly and safely. A Java geek turned product marketer, Krishnan is well versed with issues that plague IT teams and is passionate about applying technology to solve their challenges.