How I Handled 20k Writes per Second on a $12 Lightsail Server

A write-heavy backend on one tiny box: group commit into append-only segment files, an in-memory hot tier, once-a-minute compaction into SQLite blocks, and crash recovery that survives kill -9.

November 23, 2026 11 min Dvip Patel

Real-Time Monitoring AI Architecture

A practical architecture write-up for a real-time object detection monitoring system using RTSP camera streams, MediaMTX, YOLO, FastAPI, WebSockets, PostgreSQL, and stream profiling.

May 11, 2026 4 min Dvip Patel