Welcome!

Microservices Expo Authors: Dalibor Siroky, Elizabeth White, Pat Romanski, John Katrick, Liz McMillan

Related Topics: @DevOpsSummit, Microservices Expo, Linux Containers, Containers Expo Blog

@DevOpsSummit: Blog Feed Post

Digital Performance Management | @DevOpsSummit #DevOps #Microservices

The easiest way to run a known transaction end to end from the user device to back-end services

Meet the Three Musketeers of Digital Performance Management: Real, Synthetic and Virtual Users
By James Urquhart

Alexandre Dumas’s classic portrayal of a young man seeking to join the elite guard of his day seems an unlikely source of inspiration for a blog post about digital performance management, but there’s something about groups of three — each balancing the others’ strengths and weaknesses — that makes a great team.

And, while most operators today might view digital systems monitoring in terms of two players — synthetic and real users — there is a third member of the team that turns performance monitoring into performance management: the virtual user.

What does each user agent represent?

To understand how real, synthetic, and virtual user agents complement each other, it’s critical to understand what each represents. Sorting out why one might need both synthetic users and virtual users, for example — or even what the difference between the two might be — can be quite confusing.

Here’s a useful guide to the three user types.

Real users
Monitoring the actual experiences of users running in all of the different network, platform, device and geographical environments that your site or application will experience is absolutely essential to creating a near optimal user experience each and every time.

Real users allow you to measure what the end user actually experiences through their front end stack (browser or app, OS, etc), but at the cost of being able to control the conditions in which the user is running those stacks. Being able to capture anomalies quickly, especially for things like key transactions or usage under exceptional loads requires the ability to collect data with more known initial conditions or baselines.

Synthetic users
The easiest way to run a known transaction end to end from the user device to backend services with known conditions is to use an artificial “user” to drive that transaction. Synthetic user monitoring simplifies asking questions like “is the backend behaving the way it should at this moment for this transaction” or “are users on the east coast of the US experiencing worse performance than users in Europe?”

Unfortunately, because these systems don’t scale well, and these synthetic users can themselves affect performance if they generate too much load, these users don’t scale well at all. So, how do you create a baseline of expected behavior on the backend systems that have to scale to meet customer demand when stressed?

Virtual users
Virtual users aren’t meant to be used as day-to-day real time monitoring of current conditions, but are intended more to give a solid baseline measurement of backend performance under varying amounts of load.
Those baselines can be regularly verified in production, and operators can be warned if virtual user performance slips out of expected ranges.

Virtual users can also be run at incredible scales during scheduled load and stress tests. Their initial conditions can be closely controlled, though the combination of scale and control of conditions comes at the cost of driving load primarily against the backend, without driving actual browsers or mobile applications.

How virtual users complement real and synthetic users
So if those are the three musketeers, and we have a pretty good idea of how synthetic and real user monitoring complement each other let’s explore what virtual users bring to digital performance management.

As our CEO, Tom Lounibos, is wont to say, cloud testing introduced the concept of load testing actual production systems, instead of focusing only on “staging” environments before release to production. This is a powerful concept for today’s rapidly evolving digital applications, but it’s only possible if the load testing system is capable of dynamically adjusting load from an extremely light baseline to a massive peak load without rebuilding the load tests.

The way SOASTA achieves this is by utilizing CloudTest to drive virtual users through the system at a load that can be adjusted throughout a test run as needed. So you can choose to either run “baseline” tests as separate tests from time to time, or continuously run a load test that can be throttled up and down as needed over time.

Low levels of testing give you a baseline of behavior for these test users, which can be compared to behavior when the throttle is turned up. (Low level tests are also great for finding code changes that negatively affect performance or break the load test scripts before a critical load test finds them first.)

This comes at the cost of not using actual browser and device profiles, of course. You won’t know from a virtual user if the experience is better in Chrome or IE, for instance, from a virtual user in a load test. However, you will be able to confirm that your backend servers can handle any anticipated (and all but the most unimaginable unanticipated) loads when they come.

How real and synthetic users complement virtual users
Equally important to the information that virtual users brings to understanding digital performance is the power of utilizing real and synthetic user measurements when designing virtual user load tests. Beyond the simple comparisons of all three types of data — which alone can help greatly with troubleshooting performance and availability problems — there is the power of using real and synthetic data to shape the tests you run.

Example 1: Real user monitoring data will tell you a lot about the situation that cost you the most in terms of whatever your conversion metric might be

Sometimes the situations that cost you the most aren’t obvious. We’ve seen situation in which specific product pages had serious conversion issues, though not all such pages did. Real user data can make that clear, and then load tests can be created to test that condition, at least until you’ve confirmed the problem no longer exists. (Even then you can run the test occasionally as a form of regression testing.)

Example 2: Using the virtual user baselines noted above as additional baselines for real and synthetic user measurements

Does your backend perform differently under varying loads? When is a real or synthetic measurement truly an anomaly vs expected (though not necessarily “acceptable”) behavior? Having a strong, controlled profile of your system performance gives you greater confidence in tagging events as unexpected versus expected.

Takeaway
The most complete protection against performance-related failure needs a three-user team with:

  • synthetic users giving you a sense of user experience in well regulated “experiments” across browsers and devices,
  • real user monitoring telling you about the actual experiences discovered by actual users, and
  • virtual users enabling you to build a feedback loop to test, measure, and verify performance variability and resiliency.

With this combination, you have the makings of a complete picture of where, how, and why performance affects user outcomes.

And understanding user outcomes enables understanding both business and technical outcomes.

Related reading:

More Stories By SOASTA Blog

The SOASTA platform enables digital business owners to gain unprecedented and continuous performance insights into their real user experience on mobile and web devices in real time and at scale.

@MicroservicesExpo Stories
How is DevOps going within your organization? If you need some help measuring just how well it is going, we have prepared a list of some key DevOps metrics to track. These metrics can help you understand how your team is doing over time. The word DevOps means different things to different people. Some say it a culture and every vendor in the industry claims that their tools help with DevOps. Depending on how you define DevOps, some of these metrics may matter more or less to you and your team.
For many of us laboring in the fields of digital transformation, 2017 was a year of high-intensity work and high-reward achievement. So we’re looking forward to a little breather over the end-of-year holiday season. But we’re going to have to get right back on the Continuous Delivery bullet train in 2018. Markets move too fast and customer expectations elevate too precipitously for businesses to rest on their laurels. Here’s a DevOps “to-do list” for 2018 that should be priorities for anyone w...
If testing environments are constantly unavailable and affected by outages, release timelines will be affected. You can use three metrics to measure stability events for specific environments and plan around events that will affect your critical path to release.
In a recent post, titled “10 Surprising Facts About Cloud Computing and What It Really Is”, Zac Johnson highlighted some interesting facts about cloud computing in the SMB marketplace: Cloud Computing is up to 40 times more cost-effective for an SMB, compared to running its own IT system. 94% of SMBs have experienced security benefits in the cloud that they didn’t have with their on-premises service
DevOps failure is a touchy subject with some, because DevOps is typically perceived as a way to avoid failure. As a result, when you fail in a DevOps practice, the situation can seem almost hopeless. However, just as a fail-fast business approach, or the “fail and adjust sooner” methodology of Agile often proves, DevOps failures are actually a step in the right direction. They’re the first step toward learning from failures and turning your DevOps practice into one that will lead you toward even...
DevOps is under attack because developers don’t want to mess with infrastructure. They will happily own their code into production, but want to use platforms instead of raw automation. That’s changing the landscape that we understand as DevOps with both architecture concepts (CloudNative) and process redefinition (SRE). Rob Hirschfeld’s recent work in Kubernetes operations has led to the conclusion that containers and related platforms have changed the way we should be thinking about DevOps and...
The goal of Microservices is to improve software delivery speed and increase system safety as scale increases. Microservices being modular these are faster to change and enables an evolutionary architecture where systems can change, as the business needs change. Microservices can scale elastically and by being service oriented can enable APIs natively. Microservices also reduce implementation and release cycle time and enables continuous delivery. This paper provides a logical overview of the Mi...
While walking around the office I happened upon a relatively new employee dragging emails from his inbox into folders. I asked why and was told, “I’m just answering emails and getting stuff off my desk.” An empty inbox may be emotionally satisfying to look at, but in practice, you should never do it. Here’s why. I recently wrote a piece arguing that from a mathematical perspective, Messy Desks Are Perfectly Optimized. While it validated the genius of my friends with messy desks, it also gener...
The next XaaS is CICDaaS. Why? Because CICD saves developers a huge amount of time. CD is an especially great option for projects that require multiple and frequent contributions to be integrated. But… securing CICD best practices is an emerging, essential, yet little understood practice for DevOps teams and their Cloud Service Providers. The only way to get CICD to work in a highly secure environment takes collaboration, patience and persistence. Building CICD in the cloud requires rigorous ar...
The enterprise data storage marketplace is poised to become a battlefield. No longer the quiet backwater of cloud computing services, the focus of this global transition is now going from compute to storage. An overview of recent storage market history is needed to understand why this transition is important. Before 2007 and the birth of the cloud computing market we are witnessing today, the on-premise model hosted in large local data centers dominated enterprise storage. Key marketplace play...
The cloud revolution in enterprises has very clearly crossed the phase of proof-of-concepts into a truly mainstream adoption. One of most popular enterprise-wide initiatives currently going on are “cloud migration” programs of some kind or another. Finding business value for these programs is not hard to fathom – they include hyperelasticity in infrastructure consumption, subscription based models, and agility derived from rapid speed of deployment of applications. These factors will continue to...
Some people are directors, managers, and administrators. Others are disrupters. Eddie Webb (@edwardawebb) is an IT Disrupter for Software Development Platforms at Liberty Mutual and was a presenter at the 2016 All Day DevOps conference. His talk, Organically DevOps: Building Quality and Security into the Software Supply Chain at Liberty Mutual, looked at Liberty Mutual's transformation to Continuous Integration, Continuous Delivery, and DevOps. For a large, heavily regulated industry, this task ...
Following a tradition dating back to 2002 at ZapThink and continuing at Intellyx since 2014, it’s time for Intellyx’s annual predictions for the coming year. If you’re a long-time fan, you know we have a twist to the typical annual prediction post: we actually critique our predictions from the previous year. To make things even more interesting, Charlie and I switch off, judging the other’s predictions. And now that he’s been with Intellyx for more than a year, this Cortex represents my first ...
"Grape Up leverages Cloud Native technologies and helps companies build software using microservices, and work the DevOps agile way. We've been doing digital innovation for the last 12 years," explained Daniel Heckman, of Grape Up 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.
The Toyota Production System, a world-renowned production system is based on the "complete elimination of all waste". The "Toyota Way", grounded on continuous improvement dates to the 1860s. The methodology is widely proven to be successful yet there are still industries within and tangential to manufacturing struggling to adopt its core principles: Jidoka: a process should stop when an issue is identified prevents releasing defective products
We seem to run this cycle with every new technology that comes along. A good idea with practical applications is born, then both marketers and over-excited users start to declare it is the solution for all or our problems. Compliments of Gartner, we know it generally as “The Hype Cycle”, but each iteration is a little different. 2018’s flavor will be serverless computing, and by 2018, I mean starting now, but going most of next year, you’ll be sick of it. We are already seeing people write such...
Defining the term ‘monitoring’ is a difficult task considering the performance space has evolved significantly over the years. Lately, there has been a shift in the monitoring world, sparking a healthy debate regarding the definition and purpose of monitoring, through which a new term has emerged: observability. Some of that debate can be found in blogs by Charity Majors and Cindy Sridharan.
It’s “time to move on from DevOps and continuous delivery.” This was the provocative title of a recent article in ZDNet, in which Kelsey Hightower, staff developer advocate at Google Cloud Platform, suggested that “software shops should have put these concepts into action years ago.” Reading articles like this or listening to talks at most DevOps conferences might make you think that we’re entering a post-DevOps world. But vast numbers of organizations still struggle to start and drive transfo...
Let's do a visualization exercise. Imagine it's December 31, 2018, and you're ringing in the New Year with your friends and family. You think back on everything that you accomplished in the last year: your company's revenue is through the roof thanks to the success of your product, and you were promoted to Lead Developer. 2019 is poised to be an even bigger year for your company because you have the tools and insight to scale as quickly as demand requires. You're a happy human, and it's not just...
"Opsani helps the enterprise adopt containers, help them move their infrastructure into this modern world of DevOps, accelerate the delivery of new features into production, and really get them going on the container path," explained Ross Schibler, CEO of Opsani, and Peter Nickolov, CTO of Opsani, in this SYS-CON.tv interview at DevOps Summit at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.