1. 口袋数据库:
PouchDB 是一个开源的 NoSQL 内联数据库。它是在 CouchDB 之后设计的,CouchDB 是一个支持 npm 的 NoSQL 数据库。它是用 JavaScript 语言编写的。由于 PouchDB 驻留在浏览器中,因此无需通过网络执行查询,因此速度非常快。它在浏览器中使用 IndexedDB 和 WebSQL 在本地存储数据。
2. 卡桑德拉:
Cassandra 是一个分布式数据库管理系统,它是开源的,具有广泛的列存储和 NoSQL 数据库,旨在处理和支持跨多个服务器的大量数据。它为我们提供了无单点故障的高可用性。 Cassandra 最初于 2008 年 7 月发布,由 Apache 软件基金会开发。 PouchDB 和 Cassandra 的区别:
S.NO. | PouchDB | Cassandra |
---|---|---|
1. | PouchDB was initially released in 2012 and was developed by Apache Software Foundation. | Cassandra was initially released in July 2008 and was developed by Apache Software Foundation. |
2. | PouchDB is written using Javascript language. | Cassandra is written only in Java language. |
3. | PouchDB is server-less. It requires a JavaScript environment (browser, Node.js). | Cassandra server operating systems are BSD, Linux, OS X and Windows. |
4. | PouchDB supports JavaScript programming language. | Cassandra supports programming languages like C#, C++, Clojure, Erlang, Go, Haskell, Java, JavaScript, Perl, PHP, Python, Ruby and Scala. |
5. | PouchDB only provides Eventual Consistency method to ensure consistency in a distributed system. | Cassandra provides us with Eventual Consistency and Immediate Consistency method to ensure consistency in a distributed system. |
6. | PouchDB has no predefined datatypes. | Cassandra has predefined datatypes such as float, date, etc. |
7. | In PouchDB, access rights for users cannot be defined. | In Cassandra, access rights for users can be defined per object. |
8. | PouchDB supports both Master-Slave Replication and Master-Master Replication. | Cassandra supports Selectable Replication Factor replication method. |
9. | PouchDB supports the secondary indexes without any restrictions. | Secondary indexes in Cassandra is restricted. |
10. | Some companies like GenCorp Technologies, Akamai Technologies, Hothead Games Inc., Vivint Solar, etc use PouchDB. | Some companies like Instagram, Reddit, GitHub, Hulu, The Weather Channel, etc use Cassandra. |