Open In App

Difference between PouchDB and Cassandra

Last Updated : 25 Jun, 2020
Improve
Improve
Like Article
Like
Save
Share
Report

1. PouchDB :
PouchDB is an open-source, NoSQL, in-line database. It is designed after CouchDB which is a NoSQL database that powers npm. It is written in JavaScript language. There is no need to perform queries over the network as PouchDB resides inside the browser and thus it makes it extremely faster. It stores data locally using IndexedDB and WebSQL in the browser.

2. Cassandra :
Cassandra is a distributed database management system that is open-source with a wide column store, NoSQL database which is designed to handle and support large amounts of data across many servers. It provides us with high availability with no single point of failure. Cassandra was initially released in July 2008 and developed by Apache Software Foundation.


Difference between PouchDB and 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.


Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments

Similar Reads