# Blog

Source: https://systemdesignsim.com/blog

Real systems built end to end, with the code and the benchmarks. Plus notes on how system design rounds actually run at Indian product companies, with sources.

## Build logs

Source code on GitHub for every post

* [Oct 27, 2026 · 12 min read](https://systemdesignsim.com/blog/rag-ingestion-pipeline-python)
  ### [Building a RAG ingestion pipeline in Python - and checking whether its retries actually retry](https://systemdesignsim.com/blog/rag-ingestion-pipeline-python)
  [A RAG ingestion pipeline in Python: FastAPI, a Redis reliable queue, Qdrant and deterministic chunk IDs - what holds up, and five fixes before production.](https://systemdesignsim.com/blog/rag-ingestion-pipeline-python)
  [* rag* python* redis* qdrant](https://systemdesignsim.com/blog/rag-ingestion-pipeline-python)
* [Oct 26, 2026 · 11 min read](https://systemdesignsim.com/blog/uber-driver-matching-h3-go)
  ### [Matching riders to drivers with H3 hexagons, Redis sets and one Lua script](https://systemdesignsim.com/blog/uber-driver-matching-h3-go)
  [A ride-hailing dispatch core in Go: H3 hexagon cells in Redis, k-ring search and an atomic Lua claim, with measured latency and five fixes before production.](https://systemdesignsim.com/blog/uber-driver-matching-h3-go)
  [* uber* h3* geospatial index* golang](https://systemdesignsim.com/blog/uber-driver-matching-h3-go)
* [Oct 22, 2026 · 11 min read](https://systemdesignsim.com/blog/transactional-outbox-pattern-python)
  ### [Auditing a transactional outbox in Python: where exactly-once holds and where it leaks](https://systemdesignsim.com/blog/transactional-outbox-pattern-python)
  [A Python payment state machine with a transactional outbox, row locks and Kafka, checked line by line against its exactly-once claim - plus five fixes.](https://systemdesignsim.com/blog/transactional-outbox-pattern-python)
  [* transactional outbox* python* postgresql* kafka](https://systemdesignsim.com/blog/transactional-outbox-pattern-python)
* [Oct 20, 2026 · 12 min read](https://systemdesignsim.com/blog/idempotency-keys-in-go)
  ### [Building Stripe-style idempotency keys in Go with Redis and PostgreSQL](https://systemdesignsim.com/blog/idempotency-keys-in-go)
  [Stripe-style idempotency keys as Go middleware: request fingerprints, a Redis Lua lock, pub/sub for duplicates, a Postgres audit log, and four ways it double charges.](https://systemdesignsim.com/blog/idempotency-keys-in-go)
  [* idempotency* golang* redis* postgresql](https://systemdesignsim.com/blog/idempotency-keys-in-go)
* [Oct 15, 2026 · 12 min read](https://systemdesignsim.com/blog/distributed-rate-limiter-in-rust)
  ### [Building a distributed rate limiter in Rust, and the cache that lets 2.7× the limit through](https://systemdesignsim.com/blog/distributed-rate-limiter-in-rust)
  [A distributed rate limiter in Rust: five algorithms as atomic Redis Lua scripts, gRPC, a circuit breaker and a local cache - with benchmarks and four fixes.](https://systemdesignsim.com/blog/distributed-rate-limiter-in-rust)
  [* rate limiter* rust* redis* lua](https://systemdesignsim.com/blog/distributed-rate-limiter-in-rust)
* [Oct 5, 2026 · 12 min read](https://systemdesignsim.com/blog/video-seek-preview-thumbnails)
  ### [Building Netflix-style seek previews: one sprite sheet, one WebVTT file](https://systemdesignsim.com/blog/video-seek-preview-thumbnails)
  [A video thumbnail service in Python: streamed uploads, a SHA-256 content cache, Celery, FFmpeg and WebVTT sprite maps, with benchmarks and five fixes.](https://systemdesignsim.com/blog/video-seek-preview-thumbnails)
  [* video thumbnails* sprite sheet* webvtt* ffmpeg](https://systemdesignsim.com/blog/video-seek-preview-thumbnails)
* [Oct 2, 2026 · 8 min read](https://systemdesignsim.com/blog/url-shortener-in-go)
  ### [Building a URL shortener in Go that serves 28,000 redirects per second](https://systemdesignsim.com/blog/url-shortener-in-go)
  [A production-style URL shortener in Go: two-tier cache, Bloom filter, singleflight and Snowflake IDs, with real benchmarks and the three things to change.](https://systemdesignsim.com/blog/url-shortener-in-go)
  [* url shortener* golang* redis* postgresql](https://systemdesignsim.com/blog/url-shortener-in-go)

## Interview prep

* [Oct 10, 2026 · 3 min read](https://systemdesignsim.com/blog/dsa-vs-system-design-salary-india)
  ### [DSA vs system design: what actually moves your package in India](https://systemdesignsim.com/blog/dsa-vs-system-design-salary-india)
  [Is DSA enough for a product company? What SDE-1, SDE-2 and SDE-3 rounds test in India, what each level pays, and how to prepare system design in 2-3 months.](https://systemdesignsim.com/blog/dsa-vs-system-design-salary-india)
* [Oct 8, 2026 · 5 min read](https://systemdesignsim.com/blog/how-to-prepare-system-design-interview-30-days-india)
  ### [How to prepare for a system design interview in 30 days (India)](https://systemdesignsim.com/blog/how-to-prepare-system-design-interview-30-days-india)
  [A 30-day system design prep plan for backend engineers in India: estimation, building blocks, five full designs, LLD and mock rounds, with real round lengths.](https://systemdesignsim.com/blog/how-to-prepare-system-design-interview-30-days-india)
* [Oct 7, 2026 · 6 min read](https://systemdesignsim.com/blog/lld-interview-questions-sde-2-india)
  ### [LLD interview questions for SDE-2 in India](https://systemdesignsim.com/blog/lld-interview-questions-sde-2-india)
  [The SDE-2 machine coding and LLD round in India: format, timing, what's graded, the most reported problems (parking lot, LRU cache, rate limiter, Splitwise) and practice.](https://systemdesignsim.com/blog/lld-interview-questions-sde-2-india)
* [Oct 6, 2026 · 8 min read](https://systemdesignsim.com/blog/system-design-interview-framework-45-minutes)
  ### [How to answer any system design question in 45 minutes: a step-by-step framework](https://systemdesignsim.com/blog/system-design-interview-framework-45-minutes)
  [A step-by-step system design interview framework for a 45-minute round: clarify, estimate, API, data model, high-level design, deep dive. Worked on a URL shortener.](https://systemdesignsim.com/blog/system-design-interview-framework-45-minutes)
* [Oct 5, 2026 · 4 min read](https://systemdesignsim.com/blog/hld-vs-lld-vs-machine-coding-interview-india)
  ### [HLD vs LLD vs machine coding: what is the difference in an interview?](https://systemdesignsim.com/blog/hld-vs-lld-vs-machine-coding-interview-india)
  [HLD, LLD and machine coding are three different rounds. How long each runs at Indian companies, what is graded, and how to prepare for each, with sources.](https://systemdesignsim.com/blog/hld-vs-lld-vs-machine-coding-interview-india)
* [Oct 4, 2026 · 5 min read](https://systemdesignsim.com/blog/system-design-questions-indian-startups)
  ### [What system design questions do Indian product startups ask?](https://systemdesignsim.com/blog/system-design-questions-indian-startups)
  [Reported system design and LLD questions from Razorpay, Dream11, Paytm, Zepto, Nykaa, ShareChat, Freshworks and others, with sources and the themes they share.](https://systemdesignsim.com/blog/system-design-questions-indian-startups)
* [Oct 3, 2026 · 7 min read](https://systemdesignsim.com/blog/system-design-interview-mistakes-interviewers-note)
  ### [Common system design interview mistakes, and what interviewers note instead](https://systemdesignsim.com/blog/system-design-interview-mistakes-interviewers-note)
  [The system design interview mistakes that Hello Interview, interviewing.io, Meta and Amazon say they see, grouped by cause, with what to do instead and sources.](https://systemdesignsim.com/blog/system-design-interview-mistakes-interviewers-note)
* [Oct 2, 2026 · 6 min read](https://systemdesignsim.com/blog/service-company-to-product-company-system-design-gap)
  ### [Moving from a service company to a product company: the system design gap](https://systemdesignsim.com/blog/service-company-to-product-company-system-design-gap)
  [Preparing for product-company interviews from a services background in India: what the system design round expects, where gaps usually show, and how to close them.](https://systemdesignsim.com/blog/service-company-to-product-company-system-design-gap)

## One system design problem a week

A scenario, its constraints, and where the obvious design breaks.
