Every morning, I roll out of bed at 8:01am and lazily reach for my phone to check my Apple News feed. Sometimes, the app has the audacity to make me wait 2 full seconds before it refreshes my feed with 100 articles from dozens of sources around the web.
Unacceptable! I want my news feed instantly. I want it now. I can feel myself get frustrated and I can feel my patience evaporate in a flash. Then I take a step back: since when do I take personal offense to an application that doesn’t load instantly? Why do I get flustered as if I was rear-ended by a car?
This is just a microcosm of current consumer expectations. An iOS bug becomes a TechCrunch headline, a bad Facebook feature makes CNN’s front page, and an app that drains 0.1% more battery life becomes a human rights violation.
As a developer, imagine trying to adapt to these expectations. Consumers want things to work instantly, smoothly, and intelligently. They want everything to be perfect and work seamlessly or else they get frustrated, offended, and vocally upset. “Ugh, why do I have to click TWO buttons to see this?”
Moving into 2016, what can developers do to meet or even exceed these expectations? Simply releasing software faster will not necessarily mitigate risk, nor will it necessarily lead to a better product. The key question to address is “how can I adapt my development process to exceed consumer expectations?”
It doesn’t matter how wonderful your new feature is if it degrades your application’s performance. Product-market fit no longer means that your product merely serves a market, but that it must meet that market’s expectations for performance.
How you release a feature becomes as important as the feature itself. DevOps in 2016 should be the year of the incremental rollout, whereby assessing your application’s response to a new feature becomes a prerequisite for a launch. I am not strictly referring to local or staged testing, but actual testing in production.
I recently published a piece on feature flag driven development and I feel that this practice of compartmentalized release is essential for managing risk and meeting consumer expectations. By flagging a feature (i.e wrapping it in a condition), you can deploy it off and then incrementally turn it on for particular users, assessing performance feedback along the way.
MANAGING SCALABILITY WITH ROLLOUTS
Let’s look at an example. You are a developer launching a new feature that will require you to process hundreds of additional requests per second. A few hundred more? That’s no problem – you’ve built the infrastructure to scale and handle that load. But, what if all your users fall in love with the new feature? Bombarding you with thousands of requests. How do you manage this?
Imagine that you were able to roll out your feature live to 10% of your users and then 20%… 30%…. Each step becomes a testing benchmark where you assess performance feedback and can scale accordingly.
More importantly, you mitigate unanticipated performance degradation and meet the consumer expectation of seamless application performance.
Apptimize has supported mobile feature flagged rollouts for some time. For mobile apps, you can wrap a feature in a flag and gradually turn it on for your users to assess performance and quickly roll it back if something goes wrong. Another example is LaunchDarkly, which allows DevOps teams to perform incremental percentage rollouts for both web and mobile apps.
Of course, feature flagged rollouts are not the saving grace for every feature launch or app update, but they’re becoming fundamental to DevOps as consumer expectations continue to rise.