~/talk

Journey of Building a Scalable, Domain-Agnostic Order Management System

Talkat OpenSearchCon India 2024 · on Wednesday, 2024-06-26· [software-architecture, databases]
links:none on file
slides:none on file

CRED builds a domain‑agnostic OMS that uses MySQL → DMS → Kafka → custom connector → OpenSearch with a CQRS split: MySQL for writes, OpenSearch for reads. System indexes >4 billion documents at ~20K writes/min and ~26K searches/min; optimizations include merging tiny shards and using aliases, per‑user routing plus time‑bounded queries to cut P99 from ~400ms to ~35ms, live reindexing via update_by_query, moving to memory‑optimized nodes and disabling swap, hitting 1500 RPS at ~30ms.

AI-written summary · about

  1. 0:00Introduction
  2. 0:22About CRED
  3. 1:51Order management challenges
  4. 3:57Domain-agnostic order system
  5. 6:47Event-driven architecture
  6. 7:10OpenSearch in OMS queries
  7. 8:14Scaling OpenSearch
  8. 9:18Initial OpenSearch setup
  9. 10:00Shard and index management
  10. 10:45Reducing latency
  11. 11:28Reindexing without downtime
  12. 12:31Fixing latency spikes
  13. 13:34Performance achievements
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.