How to Reduce Observability Costs: Logs, Cardinality and Sampling
Model what drives your observability bill, find the top contributors, then apply log retention, metric cardinality and trace sampling controls where they matter.
13 min read
Archive
295 published
Model what drives your observability bill, find the top contributors, then apply log retention, metric cardinality and trace sampling controls where they matter.
13 min read
How the strangler fig pattern works at the proxy layer: picking slices, routing rules, data ownership, parity checks, rollback, and finishing the migration.
14 min read
Use FastAPI dependency injection to own SQLAlchemy session and auth lifetimes, compose Depends chains, and test cleanly with dependency overrides.
18 min read
Learn how Pact consumer-driven contracts, provider verification, and the Pact Broker's can-i-deploy check catch breaking API changes before they ship.
13 min read
Learn when a Node.js file upload API should stream multipart or issue S3 presigned URLs, how to enforce size limits at every layer, and how to verify uploads.
14 min read
Learn how Nx sync generators derive TypeScript project references and workspace config from the project graph, gate drift in CI, and write your own.
13 min read
Confirm a Node.js memory leak, capture heap snapshots safely in production, compare three snapshots in Chrome DevTools, and verify the fix holds.
14 min read
Learn how Nx sync generators derive tsconfig references and other config from the project graph, how to write your own, and how to enforce sync in CI.
13 min read
Route reads to Postgres replicas safely: why replication lag varies, read-your-writes strategies, a single routing layer, lag checks, and testing.
13 min read
Build an Nx custom generator that scaffolds backend services with config, health checks, error handling, tests and module boundary tags.
14 min read
Set up an Nx Python monorepo where Poetry and uv projects coexist: layout, dependency graph, cache inputs, CI, migration, and when to avoid it.
12 min read
Learn how TypeScript project references in Nx enable tsc build mode and incremental type checking, plus setup, migration, trade-offs, and diagnostics.
13 min read