天天看点

Cassandra编年史

前言

Apache Cassandra是一套开源分布式数据库管理系统,最初由Facebook开发,后续贡献给Apache。创始人后续创了Datastax公司用于商业支持Cassandra。 Cassandra为最流行的NoSQL宽表数据库,在全球广泛使用。 公开资料宣传在Apple有16w Cassandra节点;最大存储的Cassandra超过10PB。Cassandra已经发展10余年,本文整理了这些年Cassandra发展的历史。

PS:阿里云在19年8月支持了云Cassandra:

https://www.aliyun.com/product/cds

,欢迎免费公测试用。

编年史及解读

  • V0.6 2010.4 - Cassandra graduates from the Apache IncubatorTM with integrated caching and MapReduce
  • V0.7 2011.1 - Secondary indexes and online schema changes.
    • 目前HBase还不支持Secondary indexes,C* 在11年就开始支持了 二级索引。并且支持 在线更新 schema。
  • V0.8 2011.6 - Cassandra Query Language (CQL) v1, self-tuning memtables, and support for zero-downtime upgrades.
    • 支持类SQL语法CQL,方便关系型用户使用c*。
  • V1.0 2011.10 - Integrated compression, leveled compaction, and improved read performance.
  • V1.1 2012.4 - Self-tuning caches, row-level isolation, and support for mixed SSD/spinning disk deployments.
    • 进一步支持自动化的能力,row-level能力,混合磁盘的能力
  • V1.2 2013.01 - Clustering across virtual nodes, inter-node communication, atomic batches, and request tracing.
    • 支持 virtual nodes节点,解决了一定均衡扩展性的问题。
  • V2.0 2013.09 - Lightweight transactions (based on the Paxos consensus protocol), triggers, improved compactions.
    • 支持 CAS原子语义
  • V2.1 2014.09 - User-defined types, collection indexes, and incremental repair.
    • 支持集合索引
  • V2.2 2015.07 - JSON support, user-defined functions, role-based access control.
    • 支持JSON文档类型
  • V3.0 2015.11 - Materialized views, more efficient storage engine, and bug fixes. 参考: https://jaxenter.com/whats-new-cassandra-3-0-122855.html
    • 支持物化视图(全局索引),适合写少,读多的场景。另外还支持SASI索引,可以支持模糊匹配。
  • V3.1-V3.11 2016.1-2017.6 - “Tick-tock” releases add time-window compaction, hint compression, and faster import/export
    • 支持更多compaction的算法 及 更快的import/export
  • V4.0 目前社区已经在投票,预计今年会发布(最近2年基本在准备4.0,会有一个较大的更新,我们近期期待)

到目前为止,C*非常易用,Datastax还提供了几乎所有的SDK原生语言的客户端,阿里云cassandra是基于 3.11.4的版本,做了很多改进,有些客户测试比自建的写快1倍左右,欢迎测试使用。

入群邀约

为了营造一个开放的 Cassandra 技术交流,我们建立了微信群和钉钉群,为广大用户提供专业的技术分享及问答,定期开展专家技术直播,欢迎大家加入

Cassandra编年史

钉钉群入群链接:

https://c.tb.cn/F3.ZRTY0o

微信群公众号:

Cassandra编年史