Welcome!

Microservices Expo Authors: John Worthington, Pat Romanski, Stackify Blog, Automic Blog, Simon Hill

Related Topics: Microservices Expo, Java IoT, Microsoft Cloud, Machine Learning , Agile Computing, @CloudExpo

Microservices Expo: Article

Can You See the Storm Coming?

APM solutions enables us to set up alerts against good performance baselines

As much as we try to avoid performance problems, they do happen. It is inevitable. But it is possible to learn to react fast, and in some occasions fast enough that the impact on the end users is negligible. Despite operators' best efforts, 73% of performance issues are reported by users, according to "APM: Getting IT on the C-Level's agenda" report by Aberdeen Group. This number is quite large considering that less than 5% of all users typically bother to complain at all. User Experience has a significant impact on business success. According to the Aberdeen report, poor performance of applications can reduce revenue by 9% and productivity by 64%.

The goal of application performance monitoring is to ensure and improve the quality of applications as perceived by the end users. Getting to the root of the problem quickly is only part of the solution. When we ask various Operation teams how they learn about performance problems they sometimes reply: "Our users tell us." As we already pointed it out we should not wait for the disaster to happen, but rather take appropriate actions as soon as we see the storm coming.

In this article we recount two incidents that happened to our client, ZinMines, a steel and mining company from Zinariya (names changed for commercial reasons). In both cases the Operations team at ZinMines got notified about the problem well in advance of any user reaction. The team members were able to start analyzing and improving the situation by the time users eventually notified them about the problem. If they have waited for users to notify them, the problem would have been solved much later and users would have been much more frustrated.

Case #1: The Maintenance Page
When the Operations team first set up its application performance monitoring solution, the members made sure that the alerts on potential performance problems were set up correctly.

One morning, just before 8 a.m., an alert that monitored total transaction time went off. The Operations team used the APM solution to chart the total time as seen by the end user broken down by time spent on the server and time spent on the network. They saw that significant time was spent on the server (see Figure 1). This could make the whole application slower.

The team started to analyze the problem together with the engineering team. They learned that there was a serious bug and the engineering team would need a few hours to fix it.

Meanwhile, shortly after 9 a.m., they got a call from a user that the services run by ZinMines were particularly slow. The helpdesk informed the users that the problem was already being investigated and a team had been appointed to look into the issue.

Since the delays in processing user requests kept coming in, and in order to avoid further frustration among the end users, the decision was made to enter into maintenance mode. Around 9:30 the Operations team started redirecting part of the traffic to the maintenance page. This took some load off the application, decreased total time and gave the engineering team time to handle the issue. The chart in Figure 1 shows the change in server time and redirect time after the redirect to the maintenance page was enabled, which is indicated on the time line with the blue arrow.

Figure 1 also shows that the traffic was already pretty high for at least one hour before one of the end users notified the Operations team about the problem. The red arrow on the time line with the red arrow in Figure 1 indicates when the problem was first reported.

Figure 1: Reduced server time and total time after activating redirect to the maintenance page

Had the Operations team waited for an end user to report the problem they would not have contacted the engineering team early enough to gain extra time to start resolving the problem. Thanks to properly configured alerts they were able to act in time and shorten the time the users were impacted by poor application performance.

Case #2: 4xx Errors
Sometime later, the Operations team got another alert. They consulted the APM solution and discovered that one of the application servers was generating a lot of 404 errors.

Figure 2 shows the 4xx errors charted around the time of the incident report. The green arrow indicates when the alert was raised.

Figure 2: 4xx errors were happening for almost an hour before the incident was reported by the end user and fixed.

The Operations team performed root cause analysis and discovered that the problem was caused by some caching issues and they decided to restart the server. The blue arrow on the time line in Figure 2 shows when the server was restarted.

Shortly before they initiated the restart procedures they got an incident report submitted by one of the end users from the finance department (see Figure 3).

Figure 3: Incident reported an hour after the performance problems had started.

They could close the issue almost immediately since when they checked the report with HTTP 4xx errors (see Figure 2) the situation was back to normal again. This was again seen as a very positive element by the customer. The team was not only aware of the issues that were troubling the users, before any user would complain, but could also see if the action taken to resolve the issue actually improved the situation.

The red arrow in Figure 2 shows when the report was submitted by the end user. The problem started more than an hour before the user reported the incident, similar to the previous incident where users waited more than an hour. If the Operations team waited for their users they would have lost at least an hour resolving the issue.

Conclusion
Application performance monitoring is more than just following the fault domain isolation workflow to determine the root cause of the problem that is reported by an end user. In many cases waiting for the end users to report problems simply takes too long, while the frustration due to poor performance grows.

APM solutions, such as Compuware dynaTrace Data Center Real User Monitoring (DCRUM), enables us to set up alerts, e.g., against good performance baselines. In many cases these alerts will be triggered long before the end users report an incident so it gives the Operations team more time to react before issues get serious. As shown in the Aberdeen report mentioned above 95% of users will not even bother to report the problem at all.

Second it also enables the team to see if the action taken to rectify the problem actually improves the end-users' experience.

More Stories By Sebastian Kruk

Sebastian Kruk is a Technical Product Strategist, Center of Excellence, at Compuware APM Business Unit.

Comments (0)

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.


@MicroservicesExpo Stories
identify the sources of event storms and performance anomalies will require automated, real-time root-cause analysis. I think Enterprise Management Associates said it well: “The data and metrics collected at instrumentation points across the application ecosystem are essential to performance monitoring and root cause analysis. However, analytics capable of transforming data and metrics into an application-focused report or dashboards are what separates actual application monitoring from relat...
While some developers care passionately about how data centers and clouds are architected, for most, it is only the end result that matters. To the majority of companies, technology exists to solve a business problem, and only delivers value when it is solving that problem. 2017 brings the mainstream adoption of containers for production workloads. In his session at 21st Cloud Expo, Ben McCormack, VP of Operations at Evernote, discussed how data centers of the future will be managed, how the p...
DevOps teams have more on their plate than ever. As infrastructure needs grow, so does the time required to ensure that everything's running smoothly. This makes automation crucial - especially in the server and network monitoring world. Server monitoring tools can save teams time by automating server management and providing real-time performance updates. As budgets reset for the New Year, there is no better time to implement a new server monitoring tool (or re-evaluate your current solution)....
The benefits of automation are well documented; it increases productivity, cuts cost and minimizes errors. It eliminates repetitive manual tasks, freeing us up to be more innovative. By that logic, surely, we should automate everything possible, right? So, is attempting to automate everything a sensible - even feasible - goal? In a word: no. Consider this your short guide as to what to automate and what not to automate.
Cavirin Systems has just announced C2, a SaaS offering designed to bring continuous security assessment and remediation to hybrid environments, containers, and data centers. Cavirin C2 is deployed within Amazon Web Services (AWS) and features a flexible licensing model for easy scalability and clear pay-as-you-go pricing. Although native to AWS, it also supports assessment and remediation of virtual or container instances within Microsoft Azure, Google Cloud Platform (GCP), or on-premise. By dr...
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.
Enterprises are adopting Kubernetes to accelerate the development and the delivery of cloud-native applications. However, sharing a Kubernetes cluster between members of the same team can be challenging. And, sharing clusters across multiple teams is even harder. Kubernetes offers several constructs to help implement segmentation and isolation. However, these primitives can be complex to understand and apply. As a result, it’s becoming common for enterprises to end up with several clusters. Thi...
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...
The nature of test environments is inherently temporary—you set up an environment, run through an automated test suite, and then tear down the environment. If you can reduce the cycle time for this process down to hours or minutes, then you may be able to cut your test environment budgets considerably. The impact of cloud adoption on test environments is a valuable advancement in both cost savings and agility. The on-demand model takes advantage of public cloud APIs requiring only payment for t...
High-velocity engineering teams are applying not only continuous delivery processes, but also lessons in experimentation from established leaders like Amazon, Netflix, and Facebook. These companies have made experimentation a foundation for their release processes, allowing them to try out major feature releases and redesigns within smaller groups before making them broadly available. In his session at 21st Cloud Expo, Brian Lucas, Senior Staff Engineer at Optimizely, discussed how by using ne...
While we understand Agile as a means to accelerate innovation, manage uncertainty and cope with ambiguity, many are inclined to think that it conflicts with the objectives of traditional engineering projects, such as building a highway, skyscraper or power plant. These are plan-driven and predictive projects that seek to avoid any uncertainty. This type of thinking, however, is short-sighted. Agile approaches are valuable in controlling uncertainty because they constrain the complexity that ste...
"We're developing a software that is based on the cloud environment and we are providing those services to corporations and the general public," explained Seungmin Kim, CEO/CTO of SM Systems Inc., 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 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...
"This all sounds great. But it's just not realistic." This is what a group of five senior IT executives told me during a workshop I held not long ago. We were working through an exercise on the organizational characteristics necessary to successfully execute a digital transformation, and the group was doing their ‘readout.' The executives loved everything we discussed and agreed that if such an environment existed, it would make transformation much easier. They just didn't believe it was reali...
"CA has been doing a lot of things in the area of DevOps. Now we have a complete set of tool sets in order to enable customers to go all the way from planning to development to testing down to release into the operations," explained Aruna Ravichandran, Vice President of Global Marketing and Strategy at CA Technologies, 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.
We just came off of a review of a product that handles both containers and virtual machines in the same interface. Under the covers, implementation of containers defaults to LXC, though recently Docker support was added. When reading online, or searching for information, increasingly we see “Container Management” products listed as competitors to Docker, when in reality things like Rocket, LXC/LXD, and Virtualization are Dockers competitors. After doing some looking around, we have decided tha...
Agile has finally jumped the technology shark, expanding outside the software world. Enterprises are now increasingly adopting Agile practices across their organizations in order to successfully navigate the disruptive waters that threaten to drown them. In our quest for establishing change as a core competency in our organizations, this business-centric notion of Agile is an essential component of Agile Digital Transformation. In the years since the publication of the Agile Manifesto, the conn...
"Codigm is based on the cloud and we are here to explore marketing opportunities in America. Our mission is to make an ecosystem of the SW environment that anyone can understand, learn, teach, and develop the SW on the cloud," explained Sung Tae Ryu, CEO of Codigm, 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.
Many enterprise and government IT organizations are realizing the benefits of cloud computing by extending IT delivery and management processes across private and public cloud services. But they are often challenged with balancing the need for centralized cloud governance without stifling user-driven innovation. This strategy requires an approach that fundamentally reshapes how IT is delivered today, shifting the focus from infrastructure to services aggregation, and mixing and matching the bes...