DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
View Events Video Library
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Integrating PostgreSQL Databases with ANF: Join this workshop to learn how to create a PostgreSQL server using Instaclustr’s managed service

Mobile Database Essentials: Assess data needs, storage requirements, and more when leveraging databases for cloud and edge applications.

Monitoring and Observability for LLMs: Datadog and Google Cloud discuss how to achieve optimal AI model performance.

Automated Testing: The latest on architecture, TDD, and the benefits of AI and low-code tools.

Related

  • Building Cyber Resilience in an Age of Growing Threats
  • Why Performance Projects Fail
  • Anypoint Runtime Fabric Basic vs. Crucial Points for Planning Resources
  • Top 10 Key Elements for Successful SAFe Implementation

Trending

  • Freedom to Code on Low-Code Platforms
  • API Design
  • Exploring the Evolution and Impact of Computer Networks
  • The Promise of Personal Data for Better Living

How to Use APM for Capacity Planning

Fredric Paul user avatar by
Fredric Paul
·
May. 05, 15 · Interview
Like (0)
Save
Tweet
Share
2.42K Views

Join the DZone community and get the full member experience.

Join For Free

[This article was written by Phil Weber]

A few weeks ago I read an interesting article in Medium about how the engineers behind Paper magazine’s website prepared for an anticipated spike in traffic.

After reading it I thought, “I wonder how Paper could have used New Relic to improve its ability to survive the Web traffic onslaught?” One of my favorite features in New Relic APM is its Scalability Analysis Report:

scalability analysis report

click to enlarge

Unlike most graphs in APM, which show time on the x-axis, the Scalability Report shows throughput (requests per minute) on the x-axis and response time on the y-axis. (The color of each point indicates time of day, helping you identify times of increased load.) If the trend line is relatively flat, that’s good: it means your site does not slow down as more people use it. If, on the other hand, the trend line slopes upward to the right, it means your response time increases as more people access the site.

To use the Scalability Analysis Report for capacity planning, you need to add a tool to generate traffic to your staging environment—the Paper magazine team used the evocatively named Bees with Machine Guns—then view the Scalability Analysis Report to see how your site performed.

To determine how a proposed change such as caching, load balancing, or additional servers will affect your site’s performance, you can use New Relic’s deployment tracking feature. Use our API to notify New Relic when you deploy the change, then generate traffic as described above.

New Relic’s Deployment Dashboard can display key performance indicators, such as response time, throughput, Apdex, CPU, memory, and database usage before and after the change:

deployment dashboard

click to enlarge

The Deployment Change Report shows you at a glance how the change affected the performance of your top 10 most time-consuming transactions:

deployment change report

The Scalability Analysis Report and Deployment Tracking are just two of many New Relic features you can use for capacity planning. You can also use server monitoring to see how your servers react to increased load at the operating system level. Developers of Java and Ruby applications can use the VM dashboard to see how much memory their applications are using and how much CPU time is being spent on garbage collections.

Bookmark this post and refer to it next time your website threatens to “break the Internet”!

planning

Published at DZone with permission of Fredric Paul, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • Building Cyber Resilience in an Age of Growing Threats
  • Why Performance Projects Fail
  • Anypoint Runtime Fabric Basic vs. Crucial Points for Planning Resources
  • Top 10 Key Elements for Successful SAFe Implementation

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends: