- Learning Apache Cassandra(Second Edition)
- Sandeep Yarabarla
- 297字
- 2021-07-03 00:19:22
Horizontal scalability
Horizontal scalability refers to the ability to expand the storage and processing capacity of a database by adding more servers to a database cluster. A traditional single-master database's storage capacity is limited by the capacity of the server that hosts the master instance. If the data set outgrows this capacity and a more powerful server isn't available, the data set must be shared among multiple independent database instances that know nothing of each other. Your application bears responsibility for knowing to which instance a given piece of data belongs.
Cassandra, on the other hand, is deployed as a cluster of instances that are all aware of each other. From the client application's standpoint, the cluster is a single entity; the application need not know, nor care, which machine a piece of data belongs to. Instead, data can be read or written to any instance in the cluster, referred to as a node; this node will forward the request to the instance where the data actually belongs. The result is that Cassandra deployments have an almost limitless capacity to store and process data. When additional capacity is required, more machines can simply be added to the cluster. When new machines join the cluster, Cassandra takes care of rebalancing the existing data so that each node in the expanded cluster has a roughly equal share. Also, the performance of a Cassandra cluster is directly proportional to the number of nodes within the cluster. As you keep on adding instances, the read and write throughput will keep increasing linearly.
Cassandra is one of the several popular distributed databases inspired by the Dynamo architecture, originally published in a paper by Amazon. Other widely used implementations of Dynamo include Riak and Voldemort. You can read the original paper at http://s3.amazonaws.com/AllThingsDistributed/sosp/amazon-dynamo-sosp2007.pdf.
- 智能傳感器技術(shù)與應(yīng)用
- 我的J2EE成功之路
- ServiceNow Cookbook
- 傳感器技術(shù)應(yīng)用
- 讓每張照片都成為佳作的Photoshop后期技法
- 大數(shù)據(jù)平臺(tái)異常檢測分析系統(tǒng)的若干關(guān)鍵技術(shù)研究
- C語言寶典
- 精通數(shù)據(jù)科學(xué)算法
- 悟透AutoCAD 2009完全自學(xué)手冊(cè)
- Visual FoxPro數(shù)據(jù)庫基礎(chǔ)及應(yīng)用
- 面向?qū)ο蟪绦蛟O(shè)計(jì)綜合實(shí)踐
- 中國戰(zhàn)略性新興產(chǎn)業(yè)研究與發(fā)展·增材制造
- 智慧未來
- Photoshop CS4數(shù)碼照片處理入門、進(jìn)階與提高
- Practical AWS Networking