1. 卡桑德拉:
Cassandra 是一个免费、开源、分布式、广泛的列存储、NoSQL 数据库管理系统。它由 Apache 软件基金会开发,最初于 2008 年 7 月发布。Cassandra 旨在处理跨多个商用服务器的大量数据,提供高可用性且无单点故障。
2. MongoDB:
MongoDB 是一个跨平台的面向文档的非关系(即NoSQL)数据库程序。它是一个开源文档数据库,以键值对的形式存储数据。 MongoDB 由 MongoDB Inc. 开发,最初于 2009 年 2 月 11 日发布。它是用 C++、Go、JavaScript、 Python语言编写的。 MongoDB 提供高速、高可用性和高可扩展性。
Cassandra 和 MongoBD 的区别:
S.NO. | Cassandra | MongoDB |
---|---|---|
1. | Developed by Apache Software foundation and released on July 2008. | Developed by MongoDB Inc. and initially released on 11 February 2009. |
2. | Cassandra is written only in Java language. | MongoDB is written in C++, Go, JavaScript, Python languages. |
3. | Writing scalability in Cassandra is very high and efficient. | Writing scalability is limited in MongoDB |
4. | Read performance is highly efficient in Cassandra as it takes O(1) time. | Read performance is not that fast in MongoDB when compared to Cassandra. |
5. | Cassandra has only cursory support for secondary indexes i.e secondary indexing is resticted. | MongoDB does supports the concept of secondary indexes. |
6. | Cassandra only supports JSON data format. | MongoDB supports both JSON and BSON data formats. |
7. | The replication method that Cassandra supports is Selectable Replication Factor. | The replication method that MongoDB supports is Master Slave Replication |
8. | Cassandra does not provides ACID transactions but can be tuned to support ACID properties. | MongoDB provides Multi-document ACID transactions with snapshot isolation. |
9. | Server operating systems for Cassandra are BSD, Linux, OS X, Windows. | Server operating systems for MongoDB are Solaris, Linux, OS X, Windows. |
10. | Famous companies like Hulu, Instagram, Intuit, Netflix, Reddit, etc uses Cassandra. | Famous companies like Adobe, Amadeus, Lyft, ViaVarejo, Craftbase, etc uses MongoDB. |