SQLAlchemy Cheatsheet 12 — Repository and Unit-of-Work Pattern

Cheatsheet: repository classes, unit-of-work, generic base repo, service-layer separation.

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

Event-Driven Architecture in 2026 — When It's Right and When It's Just Latency

Practical EDA: when async events fit, outbox patterns, idempotency, dead letters, and an honest take on EDA’s costs vs benefits.

May 5, 2026 · 5 min · 862 words · Manvendra Rajpoot

Design a Real-Time Bidding System — Sub-100ms Latency at Scale

RTB system design. Latency budget breakdown, candidate generation, ranking, fraud, billing, and the operational realities of a sub-100ms decisioning pipeline.

May 1, 2026 · 3 min · 583 words · Manvendra Rajpoot

Design a Newsletter / Email-at-Scale System — 2026 Patterns

End-to-end design for sending newsletters / transactional email at scale. Sender reputation, bounce / complaint handling, suppression lists, throttling per provider, and the patterns from real ESPs.

April 30, 2026 · 3 min · 570 words · Manvendra Rajpoot

Design a Leaderboard / Counter System at Scale — 2026 Patterns

Leaderboards and live counters at scale. Redis sorted sets, counter sharding for hot keys, eventual consistency tradeoffs, and the production realities.

April 30, 2026 · 3 min · 539 words · Manvendra Rajpoot

gRPC vs REST for Internal Services in 2026 — The Honest Comparison

When gRPC actually wins for service-to-service traffic. Performance numbers, the ergonomics gap, debugging tradeoffs, and how to mix gRPC inside with REST at the edge.

April 30, 2026 · 2 min · 386 words · Manvendra Rajpoot

Design Google Docs / Collaborative Editing — System Design Walkthrough

End-to-end design for a collaborative editing system. Operational Transformation vs CRDTs, presence, cursors, persistence, conflict resolution, and the realities at scale.

April 30, 2026 · 3 min · 603 words · Manvendra Rajpoot

Design Instagram / Photo-Sharing — System Design Walkthrough

How to design a photo-sharing platform: media upload pipeline, image processing, feeds (timelines), follow graph, search, and the operational realities.

April 30, 2026 · 3 min · 598 words · Manvendra Rajpoot

Microservices vs Monolith in 2026 — The Pragmatic Take

Why most products should start with a modular monolith, when microservices earn their cost, the modular monolith pattern, and the modern split decision.

April 30, 2026 · 3 min · 459 words · Manvendra Rajpoot

Design a Notification System — Email, Push, SMS, In-App in 2026

End-to-end notification system design. Channels, templates, preferences, fan-out, batching, deduplication, observability, and the patterns from production.

April 30, 2026 · 3 min · 567 words · Manvendra Rajpoot