
Rate Limiting in Practice: Choosing an Algorithm and Sending a Useful 429
Pick a rate limiting algorithm by how it treats bursts, send a 429 that clients can act on, and keep a shared Redis counter correct under load.
Practical software engineering guides on frontend, backend, APIs, databases, reliability, and testing, with verified examples and trade-offs.
Latest Story
Anyone can read a JSON Web Token's payload. See what each part holds and the six checks a server should run before it trusts one.


Pick a rate limiting algorithm by how it treats bursts, send a 429 that clients can act on, and keep a shared Redis counter correct under load.

See how task interleaving differs from simultaneous execution, reproduce a Node.js trace, and choose what to measure before adding workers.

Run a local Python probe that catches wrong builds, failed writes and wrong values despite HTTP 200. Use its evidence to decide whether deeper testing can start.

A tested Node.js example shows why clearing one cache can leave objects alive, with a practical way to check ownership, heap snapshots and cleanup limits.

Check a trailing debounce wrapper, then use controlled replies to separate timer cancellation from keeping the latest input authoritative.

Force a lost update under CPython 3.12.14, compare shared and failed lock scopes, and identify what the small test does not prove.

A checked HTTP example shows why process health can stay green during a failed checkout, with practical signals and an alert checklist.

Predict which row a query sees, reproduce two-session PostgreSQL tests, and distinguish snapshots, writer conflicts, retries, and cleanup.

A valid JSON payload can still change an ID or a type. See checked Python and JavaScript cases, then define what your consumer must preserve.

Follow left, right, then root through one checked tree, compare Python implementations, and test repeated values and deep inputs.

A tested Apache JCS setup, an expiry property trap, and the limits of a local cache.

Choose request-routing roles by their actual jobs, reproduce a local NGINX path and failover test, and identify the failure boundaries that remain.
Have an idea or a project in mind? Let’s discuss how we can work together.