The engineering notebook
RSS feedBackend
Articles, practical guides, and engineering notes on Backend.
By Ashish Bhakhand 108 published articles
Explore the articles
42 articles
Reset filtersFrom Activity to Streak to Milestone: Building Derived Projections
Turn immutable activity facts into rebuildable streaks, milestones, and user views without making the write path fragile.
Database Migrations Are Executable Architecture
Treat schema changes, constraints, backfills, compatibility, and cutovers as reviewed application design rather than deployment chores.
Building a Notification Platform Instead of Sending Push Messages Everywhere
Centralize notification policy, preferences, scheduling, delivery, and idempotency behind one backend capability.
Testing FastAPI Without Starting the Real Application
Build focused test applications, override dependencies, and test services at their natural boundaries without production infrastructure.
Designing Stable Correlation IDs Across Serverless Requests and Workers
Carry one traceable identity through HTTP, events, queues, retries, and logs without confusing correlation with idempotency.
Privacy-Safe Observability in a Health Application
Preserve enough context to diagnose production failures without turning logs and error tracking into stores of sensitive user data.
Three Different Signals: Logs, Metrics, and Product Analytics
Choose the right telemetry for debugging an execution, operating a service, or understanding user behavior.
Strict JWT Validation Without Algorithm Confusion
Validate JWT algorithms, signatures, issuers, audiences, and required claims deliberately before trusting user identity.
Why My Lambda Handlers Only Wire Dependencies
Keep handlers focused on transport concerns and dependency wiring so application behavior stays reusable and easy to test.