· 10 min
One repo, many deployables: submodules vs workspaces
How to choose between git submodules and a pnpm workspace when several services share code, plus the Docker build that ships one app from a workspace.
10 min
Writing · 50 articles
Long-form notes on designing, securing and running production systems, mostly on Google Cloud. Every article is written from a real decision, with the trade-offs and the numbers behind it. Filter by topic, or start with the newest.
· 10 min
How to choose between git submodules and a pnpm workspace when several services share code, plus the Docker build that ships one app from a workspace.
10 min
· 13 min
Design for a site in eight languages with one maintainer: next-intl routing, ICU plurals, CI checks for broken messages, stale-translation tracking, hreflang.
13 min
· 12 min
Auto-pause saves money until the first request after a quiet weekend. What a paused database looks like to your app, and a design that survives it.
12 min
· 11 min
Mocks pass while real systems fail. How I run a small Playwright suite against a deployed, no-traffic staging revision and gate promotion on the result.
11 min
· 12 min
Define each request and response shape once. Get runtime validation, compile-time types and the OpenAPI document from the same object, with CI to prove it.
12 min
· 11 min
Pick the platform by workload shape, not habit: when Cloud Run services, Cloud Run functions, jobs or GKE Autopilot fit, and how to move between them later.
11 min
· 12 min
Register a denied Consent Mode v2 default ahead of the AdSense script in Next.js, let a certified CMP send the updates, and check the order in the browser.
12 min
· 14 min
Validate the user's JWT once at API Gateway, pass identity downstream as a header, and close the bypass, spoofing and revocation gaps that design opens.
14 min
· 13 min
The Firestore limits that bite as a database grows, and the schema choices that avoid them: hot documents, index fan-out, ramp-up, pagination, rules and TTL.
13 min
· 14 min
Feed architectures on a per-operation database: query-time merge, per-follower inboxes and the hybrid. With the cost arithmetic and the Firestore code.
14 min
· 16 min
An erasure request touches your database, search index, buckets, logs, analytics, backups and vendors. Here is how I make that deletion retryable and provable.
16 min
· 11 min
Hook exit codes that do not block, rules that never load, skills that abort and memory that stays on one machine: the failure modes and the fix for each.
11 min