Backend engineering, AI tooling and developer careers
Explainers on backend engineering, AI tooling and developer careers: mechanisms, failure modes and decision checklists. Drafted with an LLM pipeline; figures are illustrative.
Latest Posts
Dependency confusion: npm vs PyPI defenses
How npm scopes and PyPI's flat namespace change dependency confusion risk, with config examples and a lockfile audit script.
12 min read
Normalize vs Denormalize: The Read/Write Split
Denormalize a relational schema only when reads vastly outnumber writes and you can name the sync mechanism.
12 min read
Internal tools: why devs ignore them
Internal tools fail on latency, auth friction, and missing CLI paths. A step-by-step guide to API-first design, conflict handling, and adoption checks.
13 min read
endpoint you forgot to threat model
Threat model a new API endpoint before it ships: signature checks, body limits, idempotency, and the trust boundary table that surfaces design changes…
12 min read
Frontend to backend: stop learning frameworks
Frontend to backend transition: why learning a framework first fails, and the partial-failure, idempotency, and concurrency instincts you actually need.
12 min read
Background jobs: why restarts lose work
Background jobs lose work on restart because delivery is not execution. Learn the at-least-once model, idempotency keys, and the ack-after-commit mistake.
13 min read
Your health check is lying…
Your readiness probe returns 200 but users see 500s.
14 min read
Codebase due diligence: read the tests first
How to read tests, CI config, dependency manifests and git history to judge a codebase's health before accepting a job offer.
13 min read
Hallucination detection: metrics that mislead
Why detector accuracy hides failures under class imbalance, annotation noise and drift, and how to rebuild evaluation around precision, recall and cost.
12 min read
Encryption at rest vs in transit: the gap
Encryption at rest vs in transit: where the guarantees break. Learn the tradeoffs, failure modes, and a 30-minute audit to enforce TLS in PostgreSQL.
11 min read
Structured outputs: schema vs. reality
Here is a minimal, runnable validator using Pydantic v2, which is the de facto schema library in the Python ecosystem and supports JSON Schema generation.
11 min read
Secure file uploads: where pipelines break
Secure file upload pipelines fail at the same six points. Spot the Content-Type trust mistake, path traversal, and origin misconfig before a review does.
13 min read
Backpressure in Streaming Pipelines: Design and Failure Modes
How bounded queues, pause/resume, and honest lag metrics prevent streaming consumers from buffering themselves to death.
16 min read
Graceful shutdown: SIGKILL is not the enemy
Why SIGKILL isn't the real problem: design workers around a shutdown deadline, atomic checkpoints and idempotent side effects.
14 min read
CSRF and SameSite cookies: what breaks
How SameSite=Lax, Strict and None change CSRF exposure, which attacks survive the default, and how to verify cookie behavior in a real browser.
13 min read
On-call without derailing projects
On-call rotations erode project delivery when alerts are noisy and capacity isn't planned.
13 min read
Object storage lifecycle policies explained
How lifecycle rules transition, expire and delete objects on S3, GCS and Azure, with minimum durations, versioning traps and verification steps.
13 min read
RBAC vs ABAC: pick by blast radius
RBAC and ABAC fail in opposite directions. Decide which model carries each check by measuring what a wrong allow costs, not by maturity.
14 min read
Human-in-the-loop: when agents need a human veto
Where to place a human veto for AI agents, how to enforce it in code with signed approval tokens, and how to detect rubber-stamping.
14 min read
Designing multi-region active-active systems: costs and trade-offs
A technical guide to the real costs of multi-region active-active: data conflicts, replication lag, failover measurement, and a decision checklist.
17 min read
Python deps: uv vs Poetry vs pip-tools
Compare uv, Poetry and pip-tools by resolver, lockfile and environment model, with a worked example, failure modes and a decision checklist.
12 min read
Your platform team is too big
Small engineering orgs often staff a platform team before scoping the platform as a product. Here is a staffing test, a written boundary, and paved roads.
18 min read
Distributed locks: safe only with fencing
A lease can expire while its holder is still running. Fencing tokens, enforced by the protected resource, are what make a distributed lock safe.
17 min read
Virtual threads: what changes and what doesn't
Virtual threads make thread-per-request cheap but do not raise downstream capacity. How to check pools, pinning, thread-locals, and measure the effect.
14 min read