SYS-CON MEDIA Authors: Liz McMillan, Carmen Gonzalez, Zakia Bouachraoui, Roger Strukhoff, David Linthicum

Blog Feed Post

Tales from the Field: Spectre, Meltdown, and Patching Performance

By now you’ve certainly heard of – or perhaps been impacted by – Meltdown and Spectre, two newly discovered vulnerabilities that affected nearly every modern processor. If not, you might want to take a moment and visit for a good overview, and Ars Technica for some good examples of how the vulnerability affects processors.

As with any highly visible and impactful public vulnerability, companies often quickly shift into an all-hands-on-deck operational motion once vendor patches are available. This particular set of patches, once applied, was advertised as very likely to negatively impact system performance as a result of the patch code needing to compensate for the vulnerability in the hardware. The end result of any of these circumstances can lead to a host of negative consequences, including an impacted user experience, which typically ties to a decrease in revenue or other business success. As a result, teams should spend some additional time on performance testing to ensure the viability of their systems post-patch.

As a leader of our SaaS team, I have been heavily involved in our own evaluation of the impact of patching Meltdown and Spectre. This post is meant to share our experience and how you might apply it to your own patch process.

Our SaaS platform services customers are running mission-critical applications. It is therefore very important for us to understand the impact these patches might have on our environment so we can make any operational adjustments needed post-patch and our customers can continue to rely on our software to run their businesses. We have been testing the Meltdown and Spectre patches in-house in pre-production, leveraging our own platform to better gauge potential impacts on both the SaaS infrastructure, and in a typical on-premises environment.

We use AppD to identify all of the business transactions that end up using various components of our infrastructure, e.g., databases, message queues, caches, etc.; see the code where transactions in the application are negatively impacted, and identify adjustments that might help mitigate the performance degradation.

A key to identifying these performance degradations is AppDynamics’ dynamic baselining, which records how business transactions and various system metrics behave throughout the day and week. This means that once we apply a patch, we are able to compare the new performance to what we’ve seen prior – something you cannot do when relying on static thresholds to tell you if there is a problem.

We aren’t just applying baselines to our technical performance metrics, either. We’re leveraging our own custom dashboards from Business iQ to track the key transactions and data that drive our business KPIs. This allows us to easily identify which patching-related slowdowns should be addressed first. Since we may need to roll out patches before all slowdowns are addressed, we want to minimize business-impact while doing the right thing, security-wise.

As you might imagine, the environment underlying the AppDynamics platform is extremely complex. We have a private data center with software running on bare metal servers, and we leverage public cloud providers for many of our services. There are different cost implications to updating these environments that we consider, and you may be in a similar situation.

In the interest of rolling patches as soon as possible, a short-term solution to any performance impact may be to change the computing environment itself until you’ve had a chance to update any code. For instance, if the average response time of a critical business transaction doubles due to resource contention during testing, you may decide it’s time to increase the size of your cloud instances, or add additional instances to help carry the load until you’ve redesigned your implementation.

For AppD, our servers offer a consistent compute environment; this means the only way to boost compute power due to performance degradations is to increase the number of servers allocated to a given task, which has obvious cost implications. In the cloud, our systems are running on virtual machines, allowing us to increase instance size or simply allocate more instances. There may be cost trade-offs for increasing instance size vs. running more instances, as everyone’s situation is unique. We rely on our own software to help us understand how our servers and instances are being utilized, which assists with our capacity planning updates.

A note on the example above: I used average response time as the decision point for whether to change our environment, not just a technical metric like CPU utilization. It’s important to focus on the actual customer impact of system performance, and then use system metrics to help understand root cause. You don’t want to rush into environment changes for things that may not impact your business.

After extensive testing in our development environments, we are currently deploying canary releases – applying the upgrades to a small percentage of isolated production systems – and monitoring the results, which helps us gauge the impact of patches on the performance of our applications. This proves a useful method for identifying potential performance impacts without affecting the entire production environment.


To recap, a few things you should consider when preparing to apply patches:

– The potential impacts of patching on the user experience.

– Using an APM solution with dynamic baselining to monitor and compare performance before and after patching.

– Understand the business impact of patching, it may influence what short-term trade offs you make before addressing in the long-term.

– Using canary releases to gauge the impact of any patches on application performance, without the risk of a full rollout.

When the inevitable happens and you find yourself preparing to apply patches, remember to keep your users’ experience – and the application performance driving that experience – front of mind. Better yet, start preparing now and experience all the other benefits that AppDynamics has to offer with a 15 day free trial!

The post Tales from the Field: Spectre, Meltdown, and Patching Performance appeared first on Application Performance Monitoring Blog | AppDynamics.

Read the original blog entry...

More Stories By AppDynamics Blog

In high-production environments where release cycles are measured in hours or minutes — not days or weeks — there's little room for mistakes and no room for confusion. Everyone has to understand what's happening, in real time, and have the means to do whatever is necessary to keep applications up and running optimally.

DevOps is a high-stakes world, but done well, it delivers the agility and performance to significantly impact business competitiveness.

Latest Stories
The platform combines the strengths of Singtel's extensive, intelligent network capabilities with Microsoft's cloud expertise to create a unique solution that sets new standards for IoT applications," said Mr Diomedes Kastanis, Head of IoT at Singtel. "Our solution provides speed, transparency and flexibility, paving the way for a more pervasive use of IoT to accelerate enterprises' digitalisation efforts. AI-powered intelligent connectivity over Microsoft Azure will be the fastest connected pat...
There are many examples of disruption in consumer space – Uber disrupting the cab industry, Airbnb disrupting the hospitality industry and so on; but have you wondered who is disrupting support and operations? AISERA helps make businesses and customers successful by offering consumer-like user experience for support and operations. We have built the world’s first AI-driven IT / HR / Cloud / Customer Support and Operations solution.
ScaleMP is presenting at CloudEXPO 2019, held June 24-26 in Santa Clara, and we’d love to see you there. At the conference, we’ll demonstrate how ScaleMP is solving one of the most vexing challenges for cloud — memory cost and limit of scale — and how our innovative vSMP MemoryONE solution provides affordable larger server memory for the private and public cloud. Please visit us at Booth No. 519 to connect with our experts and learn more about vSMP MemoryONE and how it is already serving some of...
Darktrace is the world's leading AI company for cyber security. Created by mathematicians from the University of Cambridge, Darktrace's Enterprise Immune System is the first non-consumer application of machine learning to work at scale, across all network types, from physical, virtualized, and cloud, through to IoT and industrial control systems. Installed as a self-configuring cyber defense platform, Darktrace continuously learns what is ‘normal' for all devices and users, updating its understa...
Codete accelerates their clients growth through technological expertise and experience. Codite team works with organizations to meet the challenges that digitalization presents. Their clients include digital start-ups as well as established enterprises in the IT industry. To stay competitive in a highly innovative IT industry, strong R&D departments and bold spin-off initiatives is a must. Codete Data Science and Software Architects teams help corporate clients to stay up to date with the mod...
As you know, enterprise IT conversation over the past year have often centered upon the open-source Kubernetes container orchestration system. In fact, Kubernetes has emerged as the key technology -- and even primary platform -- of cloud migrations for a wide variety of organizations. Kubernetes is critical to forward-looking enterprises that continue to push their IT infrastructures toward maximum functionality, scalability, and flexibility. As they do so, IT professionals are also embr...
Platform9, the leader in SaaS-managed hybrid cloud, has announced it will present five sessions at four upcoming industry conferences in June: BCS in London, DevOpsCon in Berlin, HPE Discover and Cloud Computing Expo 2019.
At CloudEXPO Silicon Valley, June 24-26, 2019, Digital Transformation (DX) is a major focus with expanded DevOpsSUMMIT and FinTechEXPO programs within the DXWorldEXPO agenda. Successful transformation requires a laser focus on being data-driven and on using all the tools available that enable transformation if they plan to survive over the long term. A total of 88% of Fortune 500 companies from a generation ago are now out of business. Only 12% still survive. Similar percentages are found throug...
When you're operating multiple services in production, building out forensics tools such as monitoring and observability becomes essential. Unfortunately, it is a real challenge balancing priorities between building new features and tools to help pinpoint root causes. Linkerd provides many of the tools you need to tame the chaos of operating microservices in a cloud native world. Because Linkerd is a transparent proxy that runs alongside your application, there are no code changes required. I...
In his general session at 21st Cloud Expo, Greg Dumas, Calligo’s Vice President and G.M. of US operations, discussed the new Global Data Protection Regulation and how Calligo can help business stay compliant in digitally globalized world. Greg Dumas is Calligo's Vice President and G.M. of US operations. Calligo is an established service provider that provides an innovative platform for trusted cloud solutions. Calligo’s customers are typically most concerned about GDPR compliance, application p...
Modern software design has fundamentally changed how we manage applications, causing many to turn to containers as the new virtual machine for resource management. As container adoption grows beyond stateless applications to stateful workloads, the need for persistent storage is foundational - something customers routinely cite as a top pain point. In his session at @DevOpsSummit at 21st Cloud Expo, Bill Borsari, Head of Systems Engineering at Datera, explored how organizations can reap the bene...
"NetApp's vision is how we help organizations manage data - delivering the right data in the right place, in the right time, to the people who need it, and doing it agnostic to what the platform is," explained Josh Atwell, Developer Advocate for NetApp, in this interview at 20th Cloud Expo, held June 6-8, 2017, at the Javits Center in New York City, NY.
Druva is the global leader in Cloud Data Protection and Management, delivering the industry's first data management-as-a-service solution that aggregates data from endpoints, servers and cloud applications and leverages the public cloud to offer a single pane of glass to enable data protection, governance and intelligence-dramatically increasing the availability and visibility of business critical information, while reducing the risk, cost and complexity of managing and protecting it. Druva's...
Kubernetes as a Container Platform is becoming a de facto for every enterprise. In my interactions with enterprises adopting container platform, I come across common questions: - How does application security work on this platform? What all do I need to secure? - How do I implement security in pipelines? - What about vulnerabilities discovered at a later point in time? - What are newer technologies like Istio Service Mesh bring to table?In this session, I will be addressing these commonly asked ...
BMC has unmatched experience in IT management, supporting 92 of the Forbes Global 100, and earning recognition as an ITSM Gartner Magic Quadrant Leader for five years running. Our solutions offer speed, agility, and efficiency to tackle business challenges in the areas of service management, automation, operations, and the mainframe.