Difference between PouchDB and Cassandra

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.

Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.

My Personal Notes arrow_drop_up

Check out this Author's contributed articles.

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.


Article Tags :
Practice Tags :


2


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.