官术网_书友最值得收藏!

Chapter 2.  Data Distribution

Cassandra's peer-to-peer architecture and scalability characteristics are directly tied to its data placement scheme. Cassandra employs a distributed hash table data structure that allows for data to be stored and retrieved by key quickly and efficiently. Consistent hashing is at the core of this strategy, as it enables all nodes to understand where data exists in the cluster without complicated coordination mechanisms.

In this chapter, we'll cover the following topics:

  • The fundamentals of distributed hash tables
  • Cassandra's consistent hashing mechanism
  • Token assignment, both manual and using vnodes
  • The implications of Cassandra's partitioner implementations
  • How hotspots form in the cluster 

By the time you finish this chapter, you should have a deep understanding of these concepts. Let us begin with some basics about hash tables in general, and then we can delve deeper into Cassandra's distributed hash table implementation.

主站蜘蛛池模板: 安岳县| 郁南县| 香港| 伊春市| 弋阳县| 深泽县| 富锦市| 栖霞市| 靖宇县| 松潘县| 育儿| 余姚市| 山西省| 册亨县| 阿图什市| 霍邱县| 鄄城县| 南江县| 新宾| 临海市| 南陵县| 西宁市| 巴楚县| 耒阳市| 龙南县| 嘉荫县| 钦州市| 萨迦县| 云梦县| 阿坝县| 泰兴市| 兴化市| 天柱县| 丰镇市| 黄龙县| 云南省| 永善县| 莱芜市| 黔西县| 溧阳市| 大姚县|