Guides
Engineering guides
Written by Prasanna Patil from systems I've built, including the parts that went wrong. Each guide starts with the key takeaways, shows the pattern with real code, and ends with the questions people actually ask.
Guide · Updated
FastAPI, Celery and Redis: A Production Architecture Guide
Moving inference, message processing and database writes off the request thread, with explicit recovery for retries, worker crashes and publish failures.
Read the guideGuide · Updated
Building Real-Time CCTV Analytics with YOLO
From camera feed to deduplicated alert: frame sampling, batching, tracking and the numbers from a four-stream build.
Read the guideGuide · Updated
Webhook Idempotency in FastAPI: Durable Intake and Safe Retries
Provider event IDs, durable intake, atomic worker claims and the limits of deduplicating external side effects.
Read the guideGuide · Updated
Running YOLO on a Jetson: ONNX and TensorRT in Practice
Export, precision tuning (FP16/INT8), and how to report throughput honestly on the hardware you actually have.
Read the guideGuide · Updated
Celery Task Recovery: What Happens When Things Break
Late acks, idempotency, dead-letter visibility, and backfill jobs for events that were never enqueued.
Read the guideGuide · Updated
A RAG Evaluation Checklist Before You Promise Accuracy
Chunking strategy, retrieval evaluation on the real corpus, and honest limits — before the demo becomes a contract.
Read the guideGuide · Updated
WhatsApp Business API Webhooks with FastAPI in Production
Verify, route and process WhatsApp Business API events with FastAPI and Celery, plus the backfill job for media missed during downtime.
Read the guideGuide · Updated
Migrating MySQL to PostgreSQL Without Taking the App Down
A staged MySQL → Supabase/PostgreSQL move: schema mapping, backfill, verification and cut-over while the product keeps running.
Read the guide
Who these guides are for
Backend and ML engineers taking an AI feature from demo to production, and founders or tech leads who want to know what a reliable build involves before hiring for it. The topics follow my day-to-day work: async Python with FastAPI, Celery and Redis; webhook ingestion that survives retries; real-time CCTV analytics with OpenCV and YOLO; edge inference on NVIDIA Jetson; and evaluating RAG before promising accuracy.
No sponsored tools and no invented benchmarks. Where a number appears, it comes from a system I built, and the guide says which one.