Kubernetes Liveness vs Readiness Probes (and Startup): Getting Them Right
Learn what Kubernetes liveness, readiness and startup probes each decide, how to time them, and how to avoid misconfigurations that cause pod restart storms.
16 min read
Archive
295 published
Learn what Kubernetes liveness, readiness and startup probes each decide, how to time them, and how to avoid misconfigurations that cause pod restart storms.
16 min read
How to use feature flags in a monolith for trunk-based development: flag types, evaluation points, gradual rollout, schema changes, testing and flag cleanup.
13 min read
Compare URL, header and media type API versioning on caching, routing and tooling, and learn to define breaking changes and retire old versions safely.
14 min read
Set up a self-hosted Nx remote cache on S3 or MinIO with split read/write credentials, lifecycle rules, and practical defenses against cache poisoning.
13 min read
A checklist for running multiple instances of a monolith: find hidden shared state, replace in-process locks, and stop cron jobs from running once per instance.
14 min read
Set up nx release with fixed or independent versioning, Conventional Commits, changelogs, dry runs and safe CI publishing for an npm monorepo.
13 min read
Build a modular monolith in Node.js with TypeScript: small index.ts public APIs, tooling-enforced boundaries, data ownership, events, and a composition root.
13 min read
Design long-running HTTP operations with 202 Accepted, a job status endpoint, idempotent submission, sound polling, optional callbacks and cleanup rules.
16 min read
Compare Redis Redlock and PostgreSQL advisory locks, learn why lease-based locks fail, and when fencing tokens are required for correctness.
14 min read
Learn how Nx composes task hashes, how to diff hash details between runs to find the cause of an nx cache miss, and how to fix inputs with namedInputs.
13 min read
Build a small REST API with Bun.serve and bun:sqlite: manual routing, prepared statements, validation, migrations, graceful shutdown and tests, no npm packages.
13 min read
Learn how to design bulkheads in microservices as a capacity-planning exercise: isolate thread pools and connections, size them with Little's Law, and verify.
12 min read