Welcome!

Wearables Authors: Elizabeth White, Liz McMillan, Pat Romanski, Yeshim Deniz, Rostyslav Demush

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
JETRO showcased Japan Digital Transformation Pavilion at SYS-CON's 21st International Cloud Expo® at the Santa Clara Convention Center in Santa Clara, CA. The Japan External Trade Organization (JETRO) is a non-profit organization that provides business support services to companies expanding to Japan. With the support of JETRO's dedicated staff, clients can incorporate their business; receive visa, immigration, and HR support; find dedicated office space; identify local government subsidies; get...
René Bostic is the Technical VP of the IBM Cloud Unit in North America. Enjoying her career with IBM during the modern millennial technological era, she is an expert in cloud computing, DevOps and emerging cloud technologies such as Blockchain. Her strengths and core competencies include a proven record of accomplishments in consensus building at all levels to assess, plan, and implement enterprise and cloud computing solutions. René is a member of the Society of Women Engineers (SWE) and a m...
Explosive growth in connected devices. Enormous amounts of data for collection and analysis. Critical use of data for split-second decision making and actionable information. All three are factors in making the Internet of Things a reality. Yet, any one factor would have an IT organization pondering its infrastructure strategy. How should your organization enhance its IT framework to enable an Internet of Things implementation? In his session at @ThingsExpo, James Kirkland, Red Hat's Chief Archi...
In his general session at 19th Cloud Expo, Manish Dixit, VP of Product and Engineering at Dice, discussed how Dice leverages data insights and tools to help both tech professionals and recruiters better understand how skills relate to each other and which skills are in high demand using interactive visualizations and salary indicator tools to maximize earning potential. Manish Dixit is VP of Product and Engineering at Dice. As the leader of the Product, Engineering and Data Sciences team at D...
Personalization has long been the holy grail of marketing. Simply stated, communicate the most relevant offer to the right person and you will increase sales. To achieve this, you must understand the individual. Consequently, digital marketers developed many ways to gather and leverage customer information to deliver targeted experiences. In his session at @ThingsExpo, Lou Casal, Founder and Principal Consultant at Practicala, discussed how the Internet of Things (IoT) has accelerated our abilit...
Organizations planning enterprise data center consolidation and modernization projects are faced with a challenging, costly reality. Requirements to deploy modern, cloud-native applications simultaneously with traditional client/server applications are almost impossible to achieve with hardware-centric enterprise infrastructure. Compute and network infrastructure are fast moving down a software-defined path, but storage has been a laggard. Until now.
Digital Transformation is much more than a buzzword. The radical shift to digital mechanisms for almost every process is evident across all industries and verticals. This is often especially true in financial services, where the legacy environment is many times unable to keep up with the rapidly shifting demands of the consumer. The constant pressure to provide complete, omnichannel delivery of customer-facing solutions to meet both regulatory and customer demands is putting enormous pressure on...
The best way to leverage your CloudEXPO | DXWorldEXPO presence as a sponsor and exhibitor is to plan your news announcements around our events. The press covering CloudEXPO | DXWorldEXPO will have access to these releases and will amplify your news announcements. More than two dozen Cloud companies either set deals at our shows or have announced their mergers and acquisitions at CloudEXPO. Product announcements during our show provide your company with the most reach through our targeted audienc...
@DevOpsSummit at Cloud Expo, taking place November 12-13 in New York City, NY, is co-located with 22nd international CloudEXPO | first international DXWorldEXPO and will feature technical sessions from a rock star conference faculty and the leading industry players in the world.
DXWorldEXPO LLC announced today that ICC-USA, a computer systems integrator and server manufacturing company focused on developing products and product appliances, will exhibit at the 22nd International CloudEXPO | DXWorldEXPO. DXWordEXPO New York 2018, colocated with CloudEXPO New York 2018 will be held November 11-13, 2018, in New York City. ICC is a computer systems integrator and server manufacturing company focused on developing products and product appliances to meet a wide range of ...
DXWorldEXPO LLC announced today that the upcoming DXWorldEXPO | CloudEXPO New York event will feature 10 companies from Poland to participate at the "Poland Digital Transformation Pavilion" on November 12-13, 2018.
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 ...
In his keynote at 19th Cloud Expo, Sheng Liang, co-founder and CEO of Rancher Labs, discussed the technological advances and new business opportunities created by the rapid adoption of containers. With the success of Amazon Web Services (AWS) and various open source technologies used to build private clouds, cloud computing has become an essential component of IT strategy. However, users continue to face challenges in implementing clouds, as older technologies evolve and newer ones like Docker c...
Business professionals no longer wonder if they'll migrate to the cloud; it's now a matter of when. The cloud environment has proved to be a major force in transitioning to an agile business model that enables quick decisions and fast implementation that solidify customer relationships. And when the cloud is combined with the power of cognitive computing, it drives innovation and transformation that achieves astounding competitive advantage.
Cloud-enabled transformation has evolved from cost saving measure to business innovation strategy -- one that combines the cloud with cognitive capabilities to drive market disruption. Learn how you can achieve the insight and agility you need to gain a competitive advantage. Industry-acclaimed CTO and cloud expert, Shankar Kalyana presents. Only the most exceptional IBMers are appointed with the rare distinction of IBM Fellow, the highest technical honor in the company. Shankar has also receive...
Michael Maximilien, better known as max or Dr. Max, is a computer scientist with IBM. At IBM Research Triangle Park, he was a principal engineer for the worldwide industry point-of-sale standard: JavaPOS. At IBM Research, some highlights include pioneering research on semantic Web services, mashups, and cloud computing, and platform-as-a-service. He joined the IBM Cloud Labs in 2014 and works closely with Pivotal Inc., to help make the Cloud Found the best PaaS.
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...
DXWorldEXPO LLC announced today that All in Mobile, a mobile app development company from Poland, will exhibit at the 22nd International CloudEXPO | DXWorldEXPO. All In Mobile is a mobile app development company from Poland. Since 2014, they maintain passion for developing mobile applications for enterprises and startups worldwide.
We are seeing a major migration of enterprises applications to the cloud. As cloud and business use of real time applications accelerate, legacy networks are no longer able to architecturally support cloud adoption and deliver the performance and security required by highly distributed enterprises. These outdated solutions have become more costly and complicated to implement, install, manage, and maintain.SD-WAN offers unlimited capabilities for accessing the benefits of the cloud and Internet. ...
Headquartered in Plainsboro, NJ, Synametrics Technologies has provided IT professionals and computer systems developers since 1997. Based on the success of their initial product offerings (WinSQL and DeltaCopy), the company continues to create and hone innovative products that help its customers get more from their computer applications, databases and infrastructure. To date, over one million users around the world have chosen Synametrics solutions to help power their accelerated business or per...