GithubHelp home page GithubHelp logo

neoport-prototype's Introduction

Qualitative Comparison of MongoDB vs Neo4J

Team 5 - Gourab Mukherjee, Monica Muniraj, Mowzli Sre Mohan Dass

Pre-requisite before execution

  • Import the neo4j.dump file to create a new database with Nodes and Relationships and start the Neo4J Database Server and MongoDB Server
  • Install the pip dependencies pip install neo4j pymongo or pip3 install neo4j pymongo
  • Once the DB servers are started, run the main.py file main.py or python main.py or python3 main.py
  • The main.py file does the following:
    • Data Preprocessing from the csv file
    • Insertion of data into Neo4j database (commented out, it takes huge time to insert nodes and relationships together in the database if the dataset is large)
    • Insertion of data into the MongoDB.
      • Automatically create the Database TracksDB
      • Also creates the Collections Tracks, Albums, Artists
    • Evaluates the pre-defined queries from $root/client/queries.py and shows performance insights

Currently we are working on scaling the Neo4J database since the insertion of Nodes along with the Relationship is very costly and takes hours to import the data unlike MongoDB. With intermediate level queries, Neo4J did outperformed MongoDB even before exploring with the Traversal techniques (which are not in the scope of the dataset, but still can be implemented)

Once Neo4J is scaled to larger datasets, new neo4j.dump with more than 1M nodes will be supplied and the same above pre-requisite will be followed for the execution to support our Research Analysis

neoport-prototype's People

Contributors

mowzlisre avatar

Watchers

 avatar

Forkers

gourab1998muk

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.