TGViewer
Nikita isn't rushin' | GoLang | DevEx | System Design Nikita isn't rushin' | GoLang | DevEx | System Design @nikitarusin · 167 subscribers
Post #128 280
Никита Русин
Вот хороший свежий пруф сразу нескольких тезисов из поста.

500 тысяч резерваций остатков по товарам в минуту перенесли из редиса в мускус.

SKIP LOCKED, батчинг и жменя cron воркеров.
Нет eventual consistency, один источник правды, не нужен transactional outbox.

https://shopify.engineering/scaling-inventory-reservations
What wasn't possible five years ago (e.g. MySQL for this workload) can be possible today with new features like SKIP LOCKED. The same goes for configuration: thread limits and other "rule of thumb" settings are worth re-checking when workload and hardware evolve.

SKIP LOCKED - новая фича, лол

Если хотите "снять нагрузку с основной БД" редисом - передумайте.
Shopify We replaced Redis with MySQL for inventory reservations—and it scaled (2026) - Shopify How we used SKIP LOCKED, composite primary keys, and connection visibility to hit our scale targets.
  • 🤔 1
More from @nikitarusin
  1. Sep 18, 2026Post #131
  2. Aug 17, 2026Post #130
  3. Aug 15, 2026--dry-run не только CLI паттерн Поделюсь изящным решением с прода. Шорткат проблемы eventu…
  4. Jul 29, 2026Post #127
  5. Jul 25, 2026Post #126
  6. Jul 22, 2026Post #125
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →