Alembic Textbook Ch. 8 — Production Patterns and Recovery

Production Alembic: deploy strategies, recovery from broken migrations, stamp, manual fixes, and the operational checklist.

May 10, 2026 · 4 min · 824 words · Manvendra Rajpoot

Alembic Cheatsheet 09 — Production Patterns

Cheatsheet: K8s Job vs app-startup, advisory-lock single runner, forward-only, recovery via stamp.

May 15, 2026 · 3 min · 499 words · Manvendra Rajpoot

SQLAlchemy Cheatsheet 10 — Production Patterns

Cheatsheet: PgBouncer, read replica routing, OTEL instrumentation, multi-tenancy (RLS), DR / failover.

May 12, 2026 · 3 min · 494 words · Manvendra Rajpoot

SQLAlchemy 2.0 Textbook Ch. 12 — Production Patterns

Production SQLAlchemy: pool sizing with PgBouncer, read replica routing, OTEL instrumentation, multi-tenancy with RLS, and graceful failure modes.

May 7, 2026 · 4 min · 760 words · Manvendra Rajpoot

FastAPI Textbook Ch. 12 — Deployment, Scaling, and Production

Production FastAPI: Uvicorn / Hypercorn / Granian, Dockerfile, K8s deployment, HPA, graceful shutdown, and the operational checklist.

May 6, 2026 · 5 min · 1017 words · Manvendra Rajpoot

FastAPI Cheatsheet 20 — Production Checklist

Pre-launch checklist: deps, config, observability, security, data, deployment, on-call.

May 11, 2026 · 3 min · 561 words · Manvendra Rajpoot

Deploying Django to Production: A Pragmatic Checklist

An end-to-end guide to deploying Django to production: app server, reverse proxy, database, static files, env config, security hardening, and what to monitor.

April 28, 2026 · 7 min · 1458 words · Manvendra Rajpoot