บทที่ 21-28 · Topics

บทที่ 21-28: Topics

สรุป Topics ของบทที่ 21-28 สำหรับ System Design

21. Ad Click Event Aggregation

  • Stream Processing สำหรับ Big Data
  • MapReduce, Kafka, Flink
  • Deduplication, Exactly-once Semantics
  • Lambda vs Kappa Architecture

22. Hotel Reservation System

  • Optimistic/Pessimistic Locking
  • Database Constraints
  • Overbooking Strategy
  • Idempotency Keys

23. Distributed Email Service

  • SMTP/IMAP Protocols
  • Metadata Database Design
  • Full-text Search
  • Email Deliverability, SPF/DKIM/DMARC

24. S3-like Object Storage

  • Block vs File vs Object Storage
  • Data Nodes, Placement Service
  • Durability 99.999999%
  • Erasure Coding, Replication

25. Real-time Gaming Leaderboard

  • Redis Sorted Set
  • Skip List Implementation
  • Sharding Strategies
  • Real-time Updates

26. Payment System

  • Pay-in/Pay-out Flows
  • PSP Integration
  • Double-entry Ledger
  • Reconciliation

27. Digital Wallet

  • Event Sourcing Pattern
  • Saga vs TC/C Pattern
  • CQRS Architecture
  • Raft Consensus

28. Stock Exchange

  • Matching Engine
  • Order Book Data Structure
  • Sequencer, Determinism
  • High Availability

All 28 Chapters Complete!

คุณได้ครอบคลุมทุกหัวข้อ System Design แล้ว!

  • 01-06: พื้นฐาน (Scaling, Estimation, Framework, Rate Limiter, Hashing, KV Store)
  • 07-11: Distributed Systems (ID, URL, Crawler, Notification, News Feed)
  • 12-19: Real-time Systems (Chat, Search, YouTube, Drive, Maps, Queue, Monitoring)
  • 20-28: Advanced Topics (Ad Click, Reservation, Email, Storage, Leaderboard, Payment, Wallet, Exchange)

เนื้อหานี้อ้างอิงจาก ByteByteGo - System Design Interview - An Insider's Guide