Topic archive
Infrastructure
General development tips, troubleshooting, and engineering guides.
-
API Key Rotation and Revocation: A Verifier That Stores Hashes, Overlaps Two Keys, and Cuts a Key Off on the Next Request
A tested Python 3.14 / Flask 3.1 key store: public id plus 256-bit secret, SHA-256 at rest, hmac.compare_digest, rotation with a grace window that both keys survive and one does not, revocation that beats the window, and a log that never sees the secret. Plus what the earlier version’s code did when run.

-
Backpressure, Rate Limiting and Load Shedding in an API Gateway: Three Different Things, Measured
A dependency-free Java gateway with a token bucket, a bounded queue and a downstream timeout, each measured under 50 concurrent requests; a JDK Flow API run that shows what backpressure actually is; and the published Node.js example run as printed, which answered 500 to every admitted request.
