Skip to content
StackPractices

Tag: latency

Browse 7 practical software engineering resources tagged with "latency". Discover code recipes, design patterns, documentation templates, and in-depth guides to help you build, deploy, and maintain production-ready solutions involving latency.

Implement Cache Invalidation Strategies

How to keep caches consistent with databases using TTL, write-through, write-behind, and event-driven invalidation patterns.

Implement CDN Edge Caching

Configure content delivery networks with edge caching rules, cache invalidation, and geographic optimization for static and live content.

Set Up Connection Pooling for Databases and HTTP Clients

How to set up connection pooling for databases and HTTP clients to improve performance and reliability

Debounce and Throttle

How to implement debounce and throttle patterns to control function execution frequency for search inputs, scroll handlers, and API calls.

Optimize Slow Database Queries

How to identify, analyze, and fix slow SQL queries using EXPLAIN, query refactoring, and database-specific optimization techniques.

API Performance Budget Template

A template for setting and tracking API latency and throughput performance budgets.

Distributed Tracing: End-to-End Request Flow Across

A practical guide to distributed tracing: instrumenting applications, trace propagation, sampling strategies, and diagnosing latency in microservice architectures with OpenTelemetry, Jaeger, and Zipkin.