DEV Community

Zero-Cost Production Reliability Series' Articles

Back to Tharusha Nuwansara's Series
Atomic Token-Bucket API Rate Limiting in SQLite WAL Without Redis Lua Scripts
Cover image for Atomic Token-Bucket API Rate Limiting in SQLite WAL Without Redis Lua Scripts

Atomic Token-Bucket API Rate Limiting in SQLite WAL Without Redis Lua Scripts

Comments
5 min read
Cutting P99 LLM & API Tail Latency With Speculative Hedged Requests and Token Caps
Cover image for Cutting P99 LLM & API Tail Latency With Speculative Hedged Requests and Token Caps

Cutting P99 LLM & API Tail Latency With Speculative Hedged Requests and Token Caps

Comments
5 min read
Zero-Dependency Python Circuit Breakers & Self-Repairing JSON Routers for Unreliable LLM APIs
Cover image for Zero-Dependency Python Circuit Breakers & Self-Repairing JSON Routers for Unreliable LLM APIs

Zero-Dependency Python Circuit Breakers & Self-Repairing JSON Routers for Unreliable LLM APIs

1
Comments 3
6 min read
Replacing Redis Queue With a 180-Line Transactional SQLite WAL Job Broker & Dead-Letter CLI
Cover image for Replacing Redis Queue With a 180-Line Transactional SQLite WAL Job Broker & Dead-Letter CLI

Replacing Redis Queue With a 180-Line Transactional SQLite WAL Job Broker & Dead-Letter CLI

Comments
6 min read
Modeling Two-Phase Payment Holds, Partial Captures, and Releases in Double-Entry SQL
Cover image for Modeling Two-Phase Payment Holds, Partial Captures, and Releases in Double-Entry SQL

Modeling Two-Phase Payment Holds, Partial Captures, and Releases in Double-Entry SQL

Comments
5 min read
What Happens When Scripts Farm Multi-Account AI Quotas (Pure Python Guardrails)
Cover image for What Happens When Scripts Farm Multi-Account AI Quotas (Pure Python Guardrails)

What Happens When Scripts Farm Multi-Account AI Quotas (Pure Python Guardrails)

Comments
6 min read
Zero Repeat AI Agent Regressions: Deterministic Shadow-Eval Scoring in Python
Cover image for Zero Repeat AI Agent Regressions: Deterministic Shadow-Eval Scoring in Python

Zero Repeat AI Agent Regressions: Deterministic Shadow-Eval Scoring in Python

Comments
5 min read
Per-Tenant Bulkhead Semaphores: Stopping One Noisy API Key From Starving Worker Pools
Cover image for Per-Tenant Bulkhead Semaphores: Stopping One Noisy API Key From Starving Worker Pools

Per-Tenant Bulkhead Semaphores: Stopping One Noisy API Key From Starving Worker Pools

Comments
5 min read
Why Naive Exponential Backoff Causes Retry Storms (And Fixing HTTP 429 With Full Jitter in Pure Python)
Cover image for Why Naive Exponential Backoff Causes Retry Storms (And Fixing HTTP 429 With Full Jitter in Pure Python)

Why Naive Exponential Backoff Causes Retry Storms (And Fixing HTTP 429 With Full Jitter in Pure Python)

Comments
5 min read