Audit Logging in a Monolith: Triggers vs App Events vs CDC
Compare Postgres audit triggers, application events and change data capture for audit logging in a monolith, with audit table design and a hybrid pattern.
14 min read
Archive
295 published
Compare Postgres audit triggers, application events and change data capture for audit logging in a monolith, with audit table design and a hybrid pattern.
14 min read
Compare tRPC, gRPC and REST for internal TypeScript APIs: how contracts, schema evolution and tooling differ, and how to choose based on who owns each end.
17 min read
A tiered approach to local development for microservices: Docker Compose for what you change, WireMock stubs for the rest and ephemeral previews.
13 min read
Pick a redis eviction policy per dataset, size maxmemory with real headroom, avoid redis OOM kills, and test eviction under memory pressure before production.
14 min read
Cut build time in a monolith repo by selecting CI work per module from a checked-in dependency graph, with path filters, safety nets and required checks handled.
13 min read
Learn what a service mesh does, when mTLS, traffic control and observability justify it, how Istio, Linkerd and ambient mesh compare, and how to adopt safely.
15 min read
Compare Vault, SOPS and cloud secret managers for Kubernetes by storage, delivery and rotation, and learn when to combine them with External Secrets Operator.
17 min read
Learn a staged, telemetry-driven process to find and remove dead code in a large monolith: detect unused endpoints, add tombstones, deprecate, flag, then delete.
17 min read
Set up structlog in FastAPI: bind request IDs via contextvars, route uvicorn and stdlib logs through one processor chain, and emit correlated JSON logs.
13 min read
Run PostgreSQL schema changes without outages: lock_timeout with retries, expand and contract steps, batched backfills, NOT VALID constraints and concurrent indexes.
14 min read
How Nx and pnpm workspaces split responsibilities, and how catalogs, strict node_modules and a lockfile workflow keep a monorepo correct and fast.
13 min read
Learn how nx migrate works in two phases, how to review migrations.json, and how to upgrade Nx one major version at a time with small, revertable commits.
13 min read