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

Preface

Cassandra is a fantastic data store and certainly well suited as the foundation of a highly available system. In fact, it was built just for such a purpose: to handle Facebook’s messaging service. But it hasn’t always been so easy to use, with its early Thrift interface and unfamiliar data model causing many potential users to pause—and in many cases for a good reason.

Fortunately, Cassandra has matured substantially over the last few years. I used to advise people only to use Cassandra if nothing else would do the job because the learning curve was quite steep. Version 3.x continues this trend, with the introduction of features such as materialized views and SASI indexes. These additions reduce developer workload and significantly increase the overall utility of the system.

The flip side is that each new feature further obscures the underlying data structure, making complex operations seem straightforward. The familiarity of a SQL-like interface can lure an unsuspecting new user into dangerous traps. The moral of this story is that it’s still not a relational database, and you still need to know what it’s doing under the hood.

And imparting that knowledge is the core objective of this book. Each chapter attempts to demystify the inner workings of Cassandra so that you’re no longer working blindly against a black box data store. You will learn to configure, design, and build your system based on a fundamentally solid foundation.

The good news is that Cassandra makes the task of building massively scalable and incredibly reliable systems relatively straightforward, presuming you understand how to partner with it to achieve these goals.

Since you are reading this book, I presume you are either already using Cassandra or planning to do so, and that you’re interested in building a highly available system on top of it. If so, I am confident that you will meet with success if you follow the principles and guidelines offered in the chapters that follow.

主站蜘蛛池模板: 旌德县| 双鸭山市| 阿坝县| 竹山县| 蕲春县| 红安县| 徐汇区| 塔城市| 重庆市| 抚松县| 玛纳斯县| 罗山县| 隆化县| 红河县| 长兴县| 汕尾市| 江山市| 墨脱县| 兰坪| 建德市| 车险| 聂拉木县| 新河县| 古田县| 海南省| 内乡县| 梁平县| 仙桃市| 宁远县| 成都市| 连州市| 合肥市| 花莲市| 莫力| 苗栗市| 乌什县| 仁寿县| 双流县| 舒兰市| 会同县| 灵台县|