Skip to content

System Design

CCHong edited this page Jan 7, 2025 · 4 revisions
  1. Load balance
  • URL Path
  1. Location-based service
  • read-heave, no write request
  • QPS high
  • service steless, easy to scale
  1. QPS

Other

  1. Scaling with GeoDNS
  2. Caching service
  3. Content distribution network
  4. API gateway
  • reverse proxy
  1. service mesh
  2. CQRS
  • 任何將數據寫入一個表,然後轉換並插入到另一個表的設計都是 CQRS 的例子
  • CQRS 引入了複雜性,但具有更低的延遲、更好的可擴展性,且更易於維護和使用
  • 寫入服務和讀取服務可以分別擴展
  1. Batch and Streaming extract, transform and load(ETL)
  • 持續處理資料適用 Stream
    • Flink
  • 反之,Batch

Clone this wiki locally