📜  Cassandra 和 CouchDB 的区别

📅  最后修改于: 2021-09-15 01:37:07             🧑  作者: Mango

1. 卡桑德拉:
Cassandra 是一个免费、开源、分布式、广泛的列存储、NoSQL 数据库管理系统。它由 Apache 软件基金会开发,最初于 2008 年 7 月发布。Cassandra 旨在处理跨多个商用服务器的大量数据,提供高可用性且无单点故障。

2. 沙发数据库:
Apache CouchDB 是一个开源的面向文档的 NoSQL 数据库,它使用多种格式和协议来存储、传输和处理其数据,它使用 JSON 存储数据,使用 MapReduce 作为其查询语言的 JavaScript,以及用于 API 的 HTTP。它由 Apache 软件基金会开发,最初于 2005 年发布。它是用 Erlang 编写的。 Cassandra 和 CouchDB 的区别:

S.NO. Cassandra CouchDB
1. Developed by Apache Software foundation and released on July 2008. Developed by Apache Software Foundation and initially released in 2005.
2. Cassandra is written in Java language. CouchDB is written in Erlang language.
3. The primary database model for Cassandra is Wide Column Store. The primary database model for CouchDB is Document Store.
4. Cassandra supports predefined datatypes such as float, date, number, etc. In CouchDB there is no predefined datatypes.
5. Secondary indexes in Cassandra is restricted. CouchDB does not supports Secondary indexes.
6. Cassandra have SQL supports i.e it supports some SQL statements like DML, DDL, SELECT, etc. CouchDB does not supports SQL.
7. Cassandra supports Selectable Replication Factor replication method. CouchDB supports Master-Slave Replication and Master-Master Replication replication methods.
8. Cassandra provides both Eventual Consistency and Immediate Consistency methods to ensure consistency in a distributed system. CouchDB provides Eventual Consistency method to ensure consistency in a distributed system.
9. Server operating systems for Cassandra are BSD, Linux, OS X, Windows. Server operating systems for CouchDB are Android, BSD, Linux, OS X, Solaris and Windows.
10. Famous companies like GitHub, Hulu, Instagram, Reddit, The Weather Channel, etc uses Cassandra. Famous companies like Akamai Technologies, Hothead Games, Inc., GenCorp Technologies, Vivint Solar, etc uses CouchDB.