Trusted answers to developer questions

How cloud performance monitoring can result in an outage

Free System Design Interview Course

Many candidates are rejected or down-leveled due to poor performance in their System Design Interview. Stand out in System Design Interviews and get hired in 2024 with this popular free course.

To check the performance of our architecture, we need to run load tests against our application. We can see an architectural example below based on the Azure App Services and Azure Functions. The architecture contains the following components:

  • It is separated into four stages: dev, test, staging, and production.

  • Login and monitoring are implemented with Prometheus and Grafana.

  • Loading tests are implemented with Azure DevOps and JMeter.

Figure 1

This is an excerpt from DZone’s 2021 Application Performance Management Trend Report. For more: Read the Report.

Fixing the issue

As we can see in the diagram, everything looks good at first glance. Where do you think there could be an issue?

We can see the fixed architecture of the diagram in Figure 2:

Figure 2

First, we should never run load testing against the production stage. This may (and often will) cause downtime when we run an excessive load test. Instead, we should run the test against the Test or Staging environments.

We can also create a replica of our production environment explicitly for load test purposes. In this case, we should not use real production data since that may result in sending emails to real customers.

Please check out the following shots for more information regarding this topic:

RELATED TAGS

cloud
azure
security

CONTRIBUTOR

Boris Zaikin
Attributions:
  1. undefined by undefined
Copyright ©2024 Educative, Inc. All rights reserved
Did you find this helpful?