zeppelin
play

ZEPPELIN High Available KV Storage Service OVERVIEW CAP High - PowerPoint PPT Presentation

ZEPPELIN High Available KV Storage Service OVERVIEW CAP High Available Distributed KV storage Online Searching 600,000 QPS 24 Physical Machine 3 meta server 96 node server 40+ tables Highest Table Total query


  1. ZEPPELIN High Available KV Storage Service

  2. OVERVIEW • CAP High Available • Distributed KV storage

  3. • Online Searching 600,000 QPS • 24 Physical Machine • 3 meta server 96 node server • 40+ tables • Highest Table Total query 500,000,000,000 times

  4. OVERVIEW • Interface Supported: SET, GET, DEL, MSET, MGET, INC • TTL Supported • Hashtag Supported

  5. OVERVIEW • Client pull meta Info • Calculate partition • Find node ip in meta info • Send request to corresponding node server

  6. NODE SERVER • Data Distribution & Replication • Thread Model • Synchronization

  7. NODE SERVER Data Distribution & Replication •

  8. NODE SERVER • Data Distribution & Replication • Partition • Master • Slave

  9. NODE SERVER Thread Model •

  10. NODE SERVER

  11. NODE SERVER

  12. NODE SERVER

  13. NODE SERVER Synchronization •

  14. NODE SERVER • Binlog • DBSync & Binlog Sync

  15. NODE SERVER

  16. NODE SERVER

  17. NODE SERVER

  18. NODE SERVER

  19. META SERVER • Meta Info • Thread Model • Cluster Management(Migrate)

  20. META SERVER Meta Info •

  21. META SERVER Meta Info • • Cluster Status • Cluster Topology

  22. META SERVER Thread Model •

  23. META SERVER Thread Model •

  24. META SERVER How does meta Info apply to node server? • • 1. Client connect to leader Meta Server and modify meta info. • 2. As raft exist, follower and leader could reach a consensus about meta info • 3. Node server do ping routine. Find epoch differ from Meta Server. Pull newest Meta Info and apply this modification locally.

  25. META SERVER Migrate •

  26. META SERVER

  27. META SERVER • Original Meta • Send “migreate table_test 1.1.1.1:9221 4 3.3.3.3:9221” to meta server •

  28. META SERVER • node server apply meta info changes locally • continue ping…

  29. META SERVER

  30. META SERVER • node server apply meta info changes locally • continue ping…

  31. META SERVER

  32. META SERVER • node server apply meta info changes locally • New Partition4 Master is ACTIVE

  33. ZEPPELIN OVERVIEW • Pros & Cons • Future……

  34. WHAT ABOUT DISTRIBUTED PIKA • Synchronization Evolution Done • Next……

  35. THANKS •

Recommend


More recommend