Reasons TTL Alone Is a Weak Cache Strategy for Frequently Updated Business DataSource: Reasons TTL Alone Is a Weak Cache Strategy for Frequently Updated Business Data You know that feeling when a fast, simple idea looks like the obvious engineering short-cut—and then quietly turns into a production headache? TTL-based caching...May 11 · 12 min readtuanhnet.hashnode.dev
Techniques: How to design versioned commands so retries stay safe under concurrent modification?Source: Techniques: How to design versioned commands so retries stay safe under concurrent modification? 1. Opening: when retries hurt Start with a familiar failure: you design a retry loop to make an operation resilient. It retries on transie...May 8 · 12 min readtuanhnet.hashnode.dev
Techniques to Partition Data for Growth Without Breaking Query SimplicitySource: Techniques to Partition Data for Growth Without Breaking Query Simplicity You don't realize how often "just one query" matters until you've got ten million rows, a dozen replicas, and a product manager who needs a dashboard to load in under...May 6 · 12 min readtuanhnet.hashnode.dev
Methods to Move Cross-Cutting Logic Out of Controllers Without Building a Mystery BoxSource: Methods to Move Cross-Cutting Logic Out of Controllers Without Building a Mystery Box You know the scene: three controllers, ten endpoints, and every method has repeated snippets for authentication checks, request validation, timing, metric...May 5 · 11 min readtuanhnet.hashnode.dev
Reasons Java services get slower after a few hours: How to find thread pool saturation?Source: Reasons Java services get slower after a few hours: How to find thread pool saturation? You boot a service at 03:00 and it behaves beautifully: sub-second responses, healthy throughput. By noon, requests start lagging. After an outage ticke...May 4 · 10 min readtuanhnet.hashnode.dev