● Syed Ahmer Shah · Blog

Engineering
Logs.

What I’m building, breaking, learning and exploring across software, AI and development. New articles are written here first; other platforms get a copy that points back.

articles
52
series
3
hours to read
8

FeaturedThe Engineering Logs

Inside the Database Stack

Follow one request from Django's QuerySet to PostgreSQL's disk pages, and learn what really slows your app down, why indexes can hurt, and when raw SQL earns its place.

8 min read
Read the article
Sort
Saved · 0RSS

Series

Read in order

Latest

51 articles
  1. RAG Retrieval Strategies on a 50k-Document Dataset: BM25 vs Dense vs Hybrid

    How BM25, dense embeddings and hybrid search (RRF) behave on a 50k-document RAG corpus: working code, honest trade-offs, and when each one actually wins.

    11 minThe Engineering Logs

  2. The Discount That Knew You Were Hesitating: Rule-Based Personalisation in an Online Pharmacy

    How Zovita+ turns browsing into personal discounts without a machine-learning model: one visitor key for guests and customers, interaction counters, six offer rules, one pricing function for the bag and the charge, offers locked and redeemed once at checkout, guest-to-account merging, A/B tests, and the edge cases that shaped it.

    10 minThe Engineering Logs

  3. Zovita+: Building an Online Pharmacy That Adapts to Each Shopper

    How I rebuilt Zovita+, an online pharmacy with 1,186 real medicines, a 3D symptom body map, personal offers, drug-interaction warnings, refill reminders, pharmacist-reviewed prescriptions, Urdu, and card or cash payments, on Laravel, React and MySQL: stack, data model, checkout locking, payments, admin, security, SEO, testing, what broke and what I'd change.

    22 minThe Engineering Logs

  4. One Seat, Two Buyers: Race Conditions, IDOR and Keys in a Cinema Booking System

    How BookMyMovie makes sure one cinema seat is never sold twice, a guessed booking number shows nothing, and a leaked or missing key can't quietly break tickets: row locks, lock order, a NULL-tolerant unique key, status compare-and-set, idempotency, IDOR scoping, HMAC tickets, captcha step-up, and the bugs that still got through.

    11 minThe Engineering Logs

  5. BookMyMovie: Building a Cinema Ticketing Platform

    How I built BookMyMovie on my own, a Laravel, React and MySQL cinema booking platform with live seat maps, trailers, QR e-tickets that work offline, online payments and an Urdu interface: stack, architecture, data model, design, SEO, security, what broke and what I would change.

    17 minThe Engineering Logs

  6. The Last Mango Problem: Race Conditions in a Real Marketplace

    What happens when fifty people try to buy the last item, use a single-use coupon or book a nearly full pickup window at the same instant, the MySQL snapshot detail that almost overbooked a stall, and the quieter races that hide in stock forms, restocks and payments.

    10 minThe Engineering Logs

  7. GleanGrid: Building a Pre-Order Marketplace for Farmers Markets

    How I designed and built GleanGrid on my own, a Laravel and React marketplace where Hyderabad's farmers publish weekly stock and customers reserve it, pay online or at the stall, and collect it: architecture, data model, payments, security and UX.

    15 minThe Engineering Logs

  8. A Home on the Internet

    I rebuilt ahmershah.dev from scratch, moved my writing onto my own domain, and Google started showing a knowledge panel for my name. Here's what changed.

    8 min

You can also read me here — but I’d rather you read it here.