1. 口袋数据库:
PouchDB 是一个开源的 NoSQL 内联数据库。它是在 CouchDB 之后设计的,CouchDB 是一个支持 npm 的 NoSQL 数据库。它是用 JavaScript 语言编写的。由于 PouchDB 驻留在浏览器中,因此无需通过网络执行查询,因此速度非常快。它在浏览器中使用 IndexedDB 和 WebSQL 在本地存储数据。
2. 沙发床:
Couchbase Server 是一个开源的分布式 JSON 文档数据库,针对交互式应用程序进行了增强。它也被称为 Membase。它由 Couchbase, Inc. 开发,最初于 2010 年 8 月发布。它使用 C++、Erlang、C、Go 语言编写,其服务器旨在为我们提供易于扩展的键值或 JSON 文档访问,并且具有高持续的吞吐量和低延迟。
PouchDB 和 Couchbase 的区别:
S.NO. | PouchDB | Couchbase |
---|---|---|
1. | Developed by Apache Software Foundation. | Developed by Couchbase, Inc. |
2. | It was initially released in 2012. | It was initially released on August 2010. |
3. | It is written using Javascript language. | It is written using C++, Erlang, C and Go languages. |
4. | It do not have SQL support. | It provides support to Declarative query language (N1QL) that extends ANSI SQL to JSON. |
5. | It only provides Eventual Consistency method to ensure consistency in a distributed system. | It provides us with Eventual Consistency and Immediate Consistency methods to ensure consistency in a distributed system. |
6. | It does not supports ACID transactions. | It supports ACID transctions. |
7. | In PouchDB, there is no predefined datatypes. | Predefined datatypes of Couchbase are boolean, string, number, etc. |
8. | It is server-less. It requires a JavaScript environment (browser, Node.js). | It have Linux, OS X and Windows as server operating systems. |
9. | It supports JavaScript programming language. | It supports .NetC, Clojure, ColdFusion, Erlang, Go, Java, JavaScript, Perl, PHP, Python, Ruby, Scala, Tcl programming languages. |
10. | It uses HTTP REST JavaScript API. | It uses Native language bindings for CRUD, Query, Search and Analytics APIs. |