The Potter's First Unfelt Crack: On the Illusion of the Solid Vessel and the Truth of the Cumulative Stress
A potter, having shaped a fine vessel, might tap its side and hear a clear, solid ring. The form is perfect, the glaze smooth and unbroken. It is declared sound. But a vessel, like a service, is not a static object. It is a thing under constant, subtle stress. The heat of the kiln, the pressure of the contents, the small shifts of the shelf it sits upon—these forces work upon it continuously, unseen. The ring of the tap is a snapshot, a single data point in a lifetime of strain. The crack that eventually appears did not happen in an instant; it was the final, visible result of a thousand tiny, unobserved stresses.
Our digital services are these vessels. We perform health checks—our equivalent of the potter’s tap—and receive a 200 OK. The service rings clear. We see the green status on our dashboard and assume all is well. But this binary pass/fail is the illusion of the solid vessel. It tells us the heart is beating, but not if it’s under duress. The truth of the cumulative stress is found not in the status code, but in the gradual degradation of the response time.
Listening for the Change in Pitch
The practical technique, then, is to stop listening for the ring and start measuring its pitch. Instead of a health check that only validates availability, implement a latency trend health check. This is a check that doesn’t just ask, "Are you alive?" but "Are you healthy?" based on the history of your own performance.
Here’s how to build one. First, define a baseline: measure the p95 latency for a critical endpoint over a period of low load, establishing your service’s "clear ring." Then, instrument your health check endpoint to do more than return a static 200. Program it to perform a genuine, small piece of work—a streamlined database query, a cache read, a call to a core internal service—and time the operation.
The critical part is the evaluation logic. The health check should fail if the current latency of this operation exceeds your baseline by a significant margin, say 50%. But more importantly, it should also fail if the trend is negative. Using a simple moving average, configure it to alert if the latency has increased by 10% over the last ten checks. This catches the slow creep, the cumulative stress that a single snapshot would miss.
This shifts your monitoring from a state of binary blindness to one of observability. A service slowing down is a vessel developing a hairline crack. It might still hold water today, but it is on a path to failure. By making latency trend a first-class citizen in your health evaluation, you move from simply knowing your service is up to understanding it is truly well. You feel the stress long before the crack becomes visible to everyone else.
Notes & further reading
A few pages I came back to while writing this:
- The Blacksmith's First Unmeasured Quench: On the Deceit of the Perfect Temper and the Truth of the Brittle Edge
- The Astronomer's First Uncorrected Refraction: On the Illusion of the Fixed Star and the Truth of the Bent Light
- The Archivist's First Unread Ledger: On the Illusion of the Filed Record and the Truth of the Forgotten Page