Skip to content

Latest commit

 

History

History
24 lines (13 loc) · 777 Bytes

cassandra.md

File metadata and controls

24 lines (13 loc) · 777 Bytes

Cassandra

单机

Storage Engine与LevelDB相同,可以非常快速的进行写操作,因为不用触发磁盘I/O.

参考这篇:SQL and Comparison)

多机

  • Sharding: Consistent hashing来确定节点所在位置。并通过virtual node来解决hot spot问题。
  • High availability -> replica
  • Decentralized, 所有的节点都可以serve query
  • Configurable Consistency-> Quorum
    • W+R>Number of replica

Reference