ç¾›¢€œ¯²™é¾™04 - Kv Tair best practise

  • View
    774

  • Download
    12

Embed Size (px)

Text of ç¾›¢€œ¯²™é¾™04 - Kv Tair...

  1. 1. Kv-Tair best practise Nosql idc sla
  2. 2. Nosql CAP VS Vs vs vs 4
  3. 3.
  4. 4. Client Master Slave ConfigServer DataServer heartbeat
  5. 5. oct Kv tsdb zab bix Kv port data bus Redis- trasfer mysql redis Gtest gcover valgrind Bench mark Profile gprofile systemtap tair client
  6. 6. & Snapshot + redolog snapshot + w snapshot Pipline Data relay migrate Check
  7. 7. idc
  8. 8. sla 99.95% vs 99.99% 0 tp90tp99 Fast fail&recover
  9. 9. Qps vs latency Qps 5wqps 100ms vs 3wqps 100ms Qps Qps 1s (250w qps1w ) 1ms
  10. 10. 5.1 sla cpudisk idc value qps mallocmmapmutexdisk io & netio jason
  11. 11. 1.3 sla - Profile slice Systemtap Gprofile Cpu
  12. 12. profile Profile slice Systemtap Gprofile Cpu
  13. 13. systemtap
  14. 14. gprofile
  15. 15. - (25w)
  16. 16. 2.2
  17. 17. Dataserver
  18. 18. Reason & deal & Reason: & kernel Deal: epoll epoll 500
  19. 19. 5.2 Client MdbLdb Lock
  20. 20. Reason & deal& Reason: (1)Timeout tps 2hung Deal: 1 code 2databus 3 4 1w12~4
  21. 21. 1.0Feature 2.0 3.0 4.0