Field notes
Field notes
Long-form analysis for engineers and architects: how high-throughput backends are designed, secured and kept running — with worked examples and primary sources.
-
Identity
Passkeys, short-lived signed tokens and sessionless access in B2B systems
How a B2B system can give external parties and light users safe access: WebAuthn passkeys, resource-scoped signed tokens, strong electronic identification, tenant boundaries, zero-downtime key rotation and a p99 latency budget.
-
Architecture
Building an OpenTelemetry Collector pipeline you can afford to run
How to structure agents and a gateway collector tier, where to sample, how to control metric cardinality and how to keep personal data out of your telemetry back ends.
-
Data
Zero-downtime schema migrations on busy PostgreSQL tables
Why ordinary DDL can stop a production database, how lock queues form, and how the expand/contract approach, lock timeouts and throttled backfills make schema changes safe.
-
API
Retiring API versions with the Deprecation and Sunset headers
A practical deprecation process for HTTP APIs: compatibility rules, usage tracking, runtime signals with RFC 9745 and RFC 8594, communication and the final switch-off.
-
Security
SBOMs, signing and provenance: a practical software supply chain
What an SBOM is and is not, how artefact signing and build provenance fit together, how SLSA levels help, and how the EU Cyber Resilience Act changes the urgency.
-
Security
Rotating secrets without downtime
A rotation pattern for database passwords, API keys and signing keys: inventory, runtime retrieval, overlap windows, dynamic credentials and verification that the old secret is really gone.
-
API
gRPC or REST? Choosing a contract style per interaction
A decision framework for internal and external service contracts: performance, tooling, browser and partner reach, streaming, schema evolution and operational visibility.
-
Resilience
PostgreSQL point-in-time recovery: from backup policy to timed restore drills
How base backups and WAL archiving combine into point-in-time recovery, how to choose retention and RPO, and how to prove recovery time with regular restore drills.
-
Resilience
Progressive delivery: canary releases decided by automated analysis
How to shift traffic to a new version in steps, what to measure at each step, how to compare canary and baseline fairly, and how to make rollback automatic.
-
Identity
Passkeys for business applications: WebAuthn without the rollout pain
How passkeys work, why they resist phishing, how to introduce them next to existing logins, and what account recovery, device policies and OpenID Connect integration look like in practice.
-
Architecture
Multi-tenant isolation models: pool, bridge and silo
How B2B SaaS platforms separate tenants' data and workloads, the trade-offs of shared and dedicated models, row-level security in PostgreSQL, and how to handle noisy neighbours.
-
Scaling
Cache stampedes: why a cache can make an outage worse
How cache stampedes happen after expiry, deploys and restarts, and how request coalescing, early refresh, jittered TTLs and stale-while-revalidate keep load on the database flat.
-
Data
Schema evolution for event contracts
How to change event schemas without breaking consumers: compatibility modes, schema registries, Avro and Protobuf rules, upcasting, and when to publish a new event type instead.