Stop Fighting the Gateway. Cache the Response It Wants.
When a gateway cache only wants to cache full HTTP responses, the loopback pattern turns that constraint into a small internal token API.
Thoughts, tutorials, and insights about technology and software development.
When a gateway cache only wants to cache full HTTP responses, the loopback pattern turns that constraint into a small internal token API.
What if a perfectly working API gateway was quietly fetching the same valid service token thousands of times a day? This field guide shows how to find the hidden token tax before …

You dragged a slider to 150 GB and thought you were done. Then Linux shrugged and kept showing 60 GB. Here is the story of every layer you have to peel back — and why each one …

Infrastructure testing gets expensive when every failed run pollutes the next one. Local VM snapshots give deployment tools the undo button they should have had.

Traditional multi-stage Docker builds for Rust applications are painfully slow. By switching to cargo-zigbuild for cross-compilation on the host machine, we slashed our build times …

AuthOS looked like it had a SQLite problem. It really had blocking crypto, noisy writes, audit logs on the hot path, and no load-shedding discipline.

How we migrated our SSO platform's test suite to SQLite, broke it, and fixed it by understanding database locking and connection pooling.

A SAML certificate rotation handler looked correct until concurrent requests hit it. The fix was to lock the shared parent row and make the database constraint match the business …

If you changed docker-compose.yml and only restarted the container, Docker did exactly what you asked: it restarted the old container definition.

Static proxy_pass hostnames can leave Nginx pinned to stale IPs in dynamic infrastructure. The fix is runtime DNS resolution with resolver and a variable.

A fast Rust and SQLite auth service is only interesting if it buys you a real product: multi-tenant SSO, OAuth, governance, analytics, and SDKs without renting an identity vendor.

A Rust and SQLite auth service collapsed, recovered, and eventually showed why a well-understood monolith can be economically serious before distributed machinery earns its keep.