Caching Service Tokens with a Gravitee Loopback API
How I worked with Gravitee's response-cache constraint by putting the token endpoint behind a small internal API.
Category archive
Field notes collected under Software Engineering.
How I worked with Gravitee's response-cache constraint by putting the token endpoint behind a small internal API.
A service token lived for more than ten hours, but our Gravitee gateway fetched it on every request. Here is how we measured the delay, tested the obvious cache fix, and found …
How we cross-compiled three AuthOS binaries with cargo-zigbuild, kept Docker for packaging, and cut our warm publish builds from about 15 minutes per variant to 90 seconds.
AuthOS appeared to hit SQLite's limits at 130 requests per second. Moving Argon2 work, audit writes, activity updates, and overload control changed the result—and exposed what …
How a Rust SSO test suite exposed SQLite write contention, why timeouts and raw transaction SQL did not solve it, and how one writer connection stabilized eight parallel …
A concurrent integration test exposed a check-then-act race in a Rust SAML key-rotation handler. A transaction, a lock on the shared service row, and a partial unique index …
How AuthOS grew around a small Rust core, and what its measured budget-VM throughput means under an explicit 500,000-MAU traffic model.
I rebuilt the AuthOS SQLite benchmark, untangled two limits outside the database, and measured its useful operating point inside a budget-shaped VM.
Git is the most important development tool. It allows you to time-travel through your code and provides excellent collaboration features. This article dives into the way …
You have a responsibility as a web developer to improve user experience. Improve performance and user experience by improving how you handle these few things.