Skip to Content
Web Caching
book

Web Caching

by Duane Wessels
June 2001
Intermediate to advanced
320 pages
9h 18m
English
O'Reilly Media, Inc.
Content preview from Web Caching

Chapter 11.  Monitoring the Health of Your Caches

Active monitoring of your cache is one of the most important steps you can take to providing a first-rate service. Most caching products provide statistics in real time via SNMP, a web browser, or some other specific interface. This data is extremely valuable in quickly diagnosing problems and complaints. When a user calls to complain that the cache is making things slow, you can tell if it’s a real problem or an isolated incident.

I also feel it is important to keep a long history of measurements. If one day you suddenly notice that your CPU utilization is 80%, you’ll wonder if it’s always been that way, or if it’s a sudden problem you should investigate. Having a long-term view also makes capacity planning for the future much easier. By extrapolating bandwidth usage data, you can decide when to upgrade your Internet connection capacity. Similarly, a long-term analysis of cache request rates and response times may tell you when your existing solution reaches its performance limits.

In this chapter, I’ll talk about the statistics you should monitor and why you should monitor them. In addition to the standard measurements, such as request rate and response time, I’ll explain how tracking some of the less obvious parameters can help you diagnose problems quickly. If you’re on a tight budget, you can build a very nice monitoring system with freely available Unix software. I like to use UCD-SNMP and RRDTool. I’ll help you get started ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

How Netflix scales microservices with application data caching

How Netflix scales microservices with application data caching

Scott Mansfield
Web Caching and Replication

Web Caching and Replication

Michael Rabinovich, Oliver Spatscheck
NGINX Cookbook

NGINX Cookbook

Tim Butler

Publisher Resources

ISBN: 156592536XCatalog PageErrata