How Social Media Feeds Load: Understanding Instagram-Style Feed Architecture
From a simple SQL query to hybrid fan-out, Redis caching, ranking, and hydration. A step-by-step look at the tradeoffs behind a personalized feed.
Hashnode System design
Software Engineer at QodexAI
New Delhi, India
Building reliable backend & AI systems
I build backend infrastructure and full-stack applications for AI products, with a focus on data integrity, asynchronous workflows, and the systems behind the interface.
At QodexAI, I work across distributed workers, ETL pipelines, PostgreSQL, and a React dashboard. I care about what happens when requests race, queues grow, and the happy path ends.
Previously at Jeem Studio. B.Tech in Computer Science & AI from MAIT, with a 9.1 CGPA.
3,773 contributions on GitHub in the last year.
Product engineering across AI, automation, and data-intensive systems.
Independent builds that make system guarantees concrete and testable.
A webhook platform built around an uncomfortable reality: a receiver can accept an event just before the sender crashes. Designed for durable admission, bounded retries, and recoverable delivery.
29 tests · signed delivery verified: 503 → 503 → 204Tradeoff. At-least-once attempts, with explicit receiver deduplication. No promise of exactly-once remote side effects or event ordering.
An inventory and order API that keeps stock correct when buyers compete, clients retry, and reservation expiry races with checkout. Domain rules, lock ordering, and an auditable ledger work together.
16 tests · 100 buyers, 10 units, exactly 10 reservationsTradeoff. Pessimistic locks make scarce-stock decisions explicit. Transactions stay short; payment-provider calls are outside this domain.
A full-stack wallet for account creation, balance management, recipient discovery, and peer-to-peer transfers, with consistency at the center of money movement.
Both Python systems include Docker Compose setup, architecture notes, and documented local verification.
Engineering notes on how systems work, and why their tradeoffs matter.
From a simple SQL query to hybrid fan-out, Redis caching, ranking, and hydration. A step-by-step look at the tradeoffs behind a personalized feed.
Hashnode System designTools I use to turn designs into working systems.