Welcome!

Wearables Authors: Mauro Carniel, Rostyslav Demush, Pat Romanski, Shelly Palmer, Yeshim Deniz

Related Topics: Wearables, @CloudExpo, @DXWorldExpo, @DevOpsSummit

Wearables: Blog Post

Five Ways to Mitigate the Risks of TiP By @Neotys | @DevOpsSummit [#DevOps]

Best Practices

Don’t Freak Out! Five Ways to Mitigate the Risks of TiP

If there is one thing we know for sure, it is that it's extremely difficult to accurately reproduce a production environment for QA purposes. That's why there is such a natural pull in the direction of Testing in Production (TiP), in which testing is done within the live environment where real users are actively engaged in the product.

There are many benefits to using the production system as a means to conduct QA, but it can be stressful for an organization that isn't well-versed in the practice. Oftentimes, the risks of TiP prevent software testers from even trying it out. And in the worst-case scenario, a poorly managed TiP initiative can have dangerous consequences, impacting real users and revenue.

However, TiP is not something to be afraid of. The more you understand what may go wrong and how to take the proper precautions to prevent that, the more successful and efficient your overall app development process will be.

Today's post is about the major risks of Testing in Production, how to mitigate them and ensure you're getting your best end-product to users.

The Benefits of TiP

When you rely solely on a dedicated QA environment to test your app before launching it in production, you open yourself up to the risk that minor differences in how the QA and Production environments are implemented actually have a big impact on app quality and performance. Testing in Production practices can lead to great new insights - potentially avoiding catastrophic system failures.

The major benefit of TiP is the ability to test aspects of production against real users, providing a controlled way of learning how the live environment - not to mention the people operating it -behaves under specific conditions of usage, failure, and stress. Take the example of the Netflix's Chaos Monkey, a subroutine that operates in the production environment introducing random errors like VM crashes and network interruptions. These manufactured bugs force developers to address significant error conditions and code around them. It also keeps an organization familiar with otherwise rare disaster situations that require system recovery and other operational solutions.

Other methods of TiP are used in different situations to allow you to see how small quantities of users react to a change, or how users react to two totally different products. Overall, the ability to test user and system behavior in real time is what is so attractive about Testing in Production.

What's Holding You Back?

It's natural to be cautious, though - we understand. If you are new to TiP, you may be concerned about some of its downsides. So here are five ways to temper various forms of risk that TiP introduces into your development process.

User Impact

When it comes to SaaS, users are your lifeblood. Without them there is no usage, no revenue, and no business. Obviously their experience matters above all else, so any testing we do in production simply cannot break the production environment.

In our last post about TiP techniques, we summarized a few methods that can be used to control the impact of testing on users: canary testing (introducing small amounts of code change and see if it works) and controlled test flights (seeing how users interact with intended changes in UI) are two key examples. Synthetic users also play a huge part in TiP, as they capture metrics that show what real users would experience when executing specific transactions in your product, without requiring real users to go through those user paths.

Another form of mitigating the effects of testing on real users is an old standby - the scheduled maintenance window. It's common to conduct load tests on a production system during low usage periods. However, even in these situations you are still impacting the users that are on the system at that time. Take this example we encountered recently: An educational software company was conducting a 10,000 virtual user load test. They scheduled it for off-hours when only 500 real users were on the system. However - those 500 users were still exposed to the product at its worst. Here's an example where notifying users that the system would be down for a short time could've protected everyone from a poor experience.

Security

Another common concern of testing in production has to do with security. Imagine introducing a vulnerability into a system because the code you deploy wasn't properly vetted. Or running a separate instance of your application for testing purposes on production equipment, only to discover that proper security steps weren't followed because the operations team wasn't completely aware of this dedicated space.

The best way to mitigate this risk is to begin the TiP process with a cross-functional mindset. You need input from your data security and operations team to make sure you are running your tests in a safe way. As part of a mature QA process, TiP can't be relegated to solely the domain of the QA group - instead, it must be implemented with the entire team in mind, so that it benefits the entire team. Over time, security can easily become a normal part of how the entire team approaches and implements the TiP process.

Accountability

One of the reasons that modern operations teams comprising of many people can effectively manage a complex production environment is a strong system for accountability. Changes are controlled and documented, and records are kept to make sure that if any problems arise, the root cause can be identified and fixed to prevent that mistake from happening again. However, this is not necessarily as common or as rigid a practice in QA as it is in Operations.

When it comes down to TiP, you need to merge common QA practices with common Operations practices. This means putting in place systems for accountability: keeping detailed notes, names, dates and case tracking. Work with your Operations teams to find an easy, non-intrusive way of introducing appropriate change control processes into the QA procedure. As an overall rule of thumb, treat the TiP environment as the production environment and you won't let your guard down in terms of accountability.

Ownership

The issue of ownership is a hot topic when Testing in Production because both the QA and the Operations group may claim to own the environment. This can be even further complicated if an issue comes during a TiP run, and someone has to relay the issue back to the development team. Now you have code that needs to be created, deployed in production, for the purposes of testing. It can be an ownership mess.

To address these concerns, build up good practices for communication and coordination across the whole team. Address ownership is typically less of an issue with the TiP process, and more commonly an organizational issue in the end. When the organizational roles and procedures are clear, you can begin to bridge the gap between QA and production teams for a trusting and productive working relationship.

Cross-Contamination

Lastly, testing in production can lead to cross-contamination problems. The nature of shared web services, is that one may impact others, even if the applications are virtually separated, due to the infrastructure components they have in common. Put simply, conducting testing on application 1 could cause unexpected problems on application 2 for which there is no obvious root cause.

This makes it important to monitor changes and be aware of the entire back-end. It is easiest to mitigate this problem by isolating each app during testing and alerting everyone involved when testing is occurring that may impact other applications. This also brings us back to how important it is to work alongside an operational team and improve site maintenance procedures in order to recover from a problem with cross-contamination.

Test Safely

There are many clear benefits to Testing in Production, and if you manage the process properly you can counteract the major downsides of TiP without too much effort. It's clear that security, accountability, security, ownership and cross-contamination can pose serious risks to the process, but using sound organizational, tracking and procedure during the ever-vulnerable test period should do the trick. Happy testing!

More Stories By Tim Hinds

Tim Hinds is the Product Marketing Manager for NeoLoad at Neotys. He has a background in Agile software development, Scrum, Kanban, Continuous Integration, Continuous Delivery, and Continuous Testing practices.

Previously, Tim was Product Marketing Manager at AccuRev, a company acquired by Micro Focus, where he worked with software configuration management, issue tracking, Agile project management, continuous integration, workflow automation, and distributed version control systems.

@ThingsExpo Stories
DX World EXPO, LLC, a Lighthouse Point, Florida-based startup trade show producer and the creator of "DXWorldEXPO® - Digital Transformation Conference & Expo" has announced its executive management team. The team is headed by Levent Selamoglu, who has been named CEO. "Now is the time for a truly global DX event, to bring together the leading minds from the technology world in a conversation about Digital Transformation," he said in making the announcement.
"Space Monkey by Vivent Smart Home is a product that is a distributed cloud-based edge storage network. Vivent Smart Home, our parent company, is a smart home provider that places a lot of hard drives across homes in North America," explained JT Olds, Director of Engineering, and Brandon Crowfeather, Product Manager, at Vivint Smart Home, in this SYS-CON.tv interview at @ThingsExpo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
SYS-CON Events announced today that Conference Guru has been named “Media Sponsor” of the 22nd International Cloud Expo, which will take place on June 5-7, 2018, at the Javits Center in New York, NY. A valuable conference experience generates new contacts, sales leads, potential strategic partners and potential investors; helps gather competitive intelligence and even provides inspiration for new products and services. Conference Guru works with conference organizers to pass great deals to gre...
The Internet of Things will challenge the status quo of how IT and development organizations operate. Or will it? Certainly the fog layer of IoT requires special insights about data ontology, security and transactional integrity. But the developmental challenges are the same: People, Process and Platform. In his session at @ThingsExpo, Craig Sproule, CEO of Metavine, demonstrated how to move beyond today's coding paradigm and shared the must-have mindsets for removing complexity from the develop...
In his Opening Keynote at 21st Cloud Expo, John Considine, General Manager of IBM Cloud Infrastructure, led attendees through the exciting evolution of the cloud. He looked at this major disruption from the perspective of technology, business models, and what this means for enterprises of all sizes. John Considine is General Manager of Cloud Infrastructure Services at IBM. In that role he is responsible for leading IBM’s public cloud infrastructure including strategy, development, and offering m...
"Evatronix provides design services to companies that need to integrate the IoT technology in their products but they don't necessarily have the expertise, knowledge and design team to do so," explained Adam Morawiec, VP of Business Development at Evatronix, in this SYS-CON.tv interview at @ThingsExpo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
To get the most out of their data, successful companies are not focusing on queries and data lakes, they are actively integrating analytics into their operations with a data-first application development approach. Real-time adjustments to improve revenues, reduce costs, or mitigate risk rely on applications that minimize latency on a variety of data sources. In his session at @BigDataExpo, Jack Norris, Senior Vice President, Data and Applications at MapR Technologies, reviewed best practices to ...
Widespread fragmentation is stalling the growth of the IIoT and making it difficult for partners to work together. The number of software platforms, apps, hardware and connectivity standards is creating paralysis among businesses that are afraid of being locked into a solution. EdgeX Foundry is unifying the community around a common IoT edge framework and an ecosystem of interoperable components.
Large industrial manufacturing organizations are adopting the agile principles of cloud software companies. The industrial manufacturing development process has not scaled over time. Now that design CAD teams are geographically distributed, centralizing their work is key. With large multi-gigabyte projects, outdated tools have stifled industrial team agility, time-to-market milestones, and impacted P&L stakeholders.
"Akvelon is a software development company and we also provide consultancy services to folks who are looking to scale or accelerate their engineering roadmaps," explained Jeremiah Mothersell, Marketing Manager at Akvelon, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
"IBM is really all in on blockchain. We take a look at sort of the history of blockchain ledger technologies. It started out with bitcoin, Ethereum, and IBM evaluated these particular blockchain technologies and found they were anonymous and permissionless and that many companies were looking for permissioned blockchain," stated René Bostic, Technical VP of the IBM Cloud Unit in North America, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Conventi...
In his session at 21st Cloud Expo, Carl J. Levine, Senior Technical Evangelist for NS1, will objectively discuss how DNS is used to solve Digital Transformation challenges in large SaaS applications, CDNs, AdTech platforms, and other demanding use cases. Carl J. Levine is the Senior Technical Evangelist for NS1. A veteran of the Internet Infrastructure space, he has over a decade of experience with startups, networking protocols and Internet infrastructure, combined with the unique ability to it...
22nd International Cloud Expo, taking place June 5-7, 2018, at the Javits Center in New York City, NY, and co-located with the 1st DXWorld Expo will feature technical sessions from a rock star conference faculty and the leading industry players in the world. Cloud computing is now being embraced by a majority of enterprises of all sizes. Yesterday's debate about public vs. private has transformed into the reality of hybrid cloud: a recent survey shows that 74% of enterprises have a hybrid cloud ...
"Cloud Academy is an enterprise training platform for the cloud, specifically public clouds. We offer guided learning experiences on AWS, Azure, Google Cloud and all the surrounding methodologies and technologies that you need to know and your teams need to know in order to leverage the full benefits of the cloud," explained Alex Brower, VP of Marketing at Cloud Academy, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clar...
Gemini is Yahoo’s native and search advertising platform. To ensure the quality of a complex distributed system that spans multiple products and components and across various desktop websites and mobile app and web experiences – both Yahoo owned and operated and third-party syndication (supply), with complex interaction with more than a billion users and numerous advertisers globally (demand) – it becomes imperative to automate a set of end-to-end tests 24x7 to detect bugs and regression. In th...
"MobiDev is a software development company and we do complex, custom software development for everybody from entrepreneurs to large enterprises," explained Alan Winters, U.S. Head of Business Development at MobiDev, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
Coca-Cola’s Google powered digital signage system lays the groundwork for a more valuable connection between Coke and its customers. Digital signs pair software with high-resolution displays so that a message can be changed instantly based on what the operator wants to communicate or sell. In their Day 3 Keynote at 21st Cloud Expo, Greg Chambers, Global Group Director, Digital Innovation, Coca-Cola, and Vidya Nagarajan, a Senior Product Manager at Google, discussed how from store operations and ...
"There's plenty of bandwidth out there but it's never in the right place. So what Cedexis does is uses data to work out the best pathways to get data from the origin to the person who wants to get it," explained Simon Jones, Evangelist and Head of Marketing at Cedexis, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
SYS-CON Events announced today that CrowdReviews.com has been named “Media Sponsor” of SYS-CON's 22nd International Cloud Expo, which will take place on June 5–7, 2018, at the Javits Center in New York City, NY. CrowdReviews.com is a transparent online platform for determining which products and services are the best based on the opinion of the crowd. The crowd consists of Internet users that have experienced products and services first-hand and have an interest in letting other potential buye...
SYS-CON Events announced today that Telecom Reseller has been named “Media Sponsor” of SYS-CON's 22nd International Cloud Expo, which will take place on June 5-7, 2018, at the Javits Center in New York, NY. Telecom Reseller reports on Unified Communications, UCaaS, BPaaS for enterprise and SMBs. They report extensively on both customer premises based solutions such as IP-PBX as well as cloud based and hosted platforms.