Shipping Piper as a Cross-Platform Local TTS Runtime
A practical design for packaging Piper, wrapping its CLI, and testing local speech synthesis across Windows, macOS, and Linux.
Category archive
Field notes collected under Software Engineering.
A practical design for packaging Piper, wrapping its CLI, and testing local speech synthesis across Windows, macOS, and Linux.
How to choose, benchmark, package, and isolate a local text-to-speech stack without treating a good demo as production evidence.
How an internal loopback API let us cache auth responses in Gravitee after the Groovy sandbox and OAuth2 resource ruled out simpler approaches.
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 …