Difference between Neo4j and Redis

1. Neo4j :
Neo4j is the most famous graph database management system and it is also a NoSQL database system which is developed by Neo4j, Inc. It is different from Mysql or MongoDB as it has its features that makes it special compared to other Database Management System. Neo4j also stores and present the data in the form of the graph not in tabular format or not in a Jason format. In this the whole data is represented by nodes and there you can create a relationship between nodes which means the whole database collection will look like a graph, which makes Neo4j unique from other database management system.

2. Redis :
Redis or Remote Dictionary Server which is an in-memory data structure project applying a distributed, in-memory key-value database which was developed by Redis labs and was initially released on May 10, 2009. It is also open-source software released under a BSD 3-clause license. It also offers us with memory efficiency, high availability, fast operating speed, and provides some features like replication, clustering, etc.



Difference between Neo4j and Redis :

S.No. Neo4j Redis
1. It was developed by Neo4j, Inc. It was developed by Redis labs.
2. It was initially released in 2007. It was initially released on May 10, 2009.
3. It is written using Java and Scala language. It is written in ANSI and C languages.
4. Neo4j server operating systems are Linux, OS X, Solaris, and Windows. Its server operating systems are BDS, Linux, OS X and Windows.
5. It provides us with Causal and Eventual Consistency configurable in Causal Cluster setup and Immediate Consistency in stand-alone mode. It provides us with Eventual Consistency, Strong eventual consistency with CRDTs.
6. Neo4j APIs and other access methods includes Bolt protocol, Cypher query language, Java API, Neo4j-OGM, RESTful HTTP, API, Spring Data Neo4j, TinkerPop 3. APIs and other access methods include proprietary protocol.
7. It has Foreign keys. It does not have Foreign keys.
8. Its primary database model is is Graph DBMS. Its primary database model is Key-value store.
9. Neo4j supports programming languages which are .Net, Clojure, Elixir, Go, Groovy, Haskell, Java, JavaScript, Perl, PHP, Python, Ruby and Scala. It supports C, C#, C++, Clojure, Crystal, D, Dart, Elixir, Erlang, Fancy, Go, Haskell, Haxe, Java, JavaScript (Node.js), Lisp, Lua, MatLab, Objective-C, OCaml, Pascal, Perl, PHP, Prolog, Pure Data, Python, R, Rebol, Ruby, Rust, Scala, Scheme, Smalltalk, Swift, Tcl, Visual Basic programming language.
10. It does not supports Partitioning methods. It does not supports Sharing Partitioning methods.

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 :


Be the First to upvote.


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