Giter VIP home page Giter VIP logo

storage-systems-comparison's Introduction

#STORAGE SYSTEMS COMPARISON

In this project we present a comparison between different storage systems:

  • a traditional Relational Database - MySQL
  • a NoSQL Database - MongoDB
  • a Graph Database - Neo4j

To do so, we use a big dataset containing more than 160M records of commercial flights information in the USA between 1987 and 2015. The raw dataset has been pre-aggregated and formatted accordingly for each of the databases with the use of Spark. In two cases, Spark was also used to import the data to the databases. This evaluation has been achieved by comparing implementation complexity, integration with Spark, and comparing time performances of running several queries on each of the databases.


You can find a complete report and a poster explaining in details implementation and results.

###SOME RESULTS image

###HOW TO USE Define the path to your Spark folder of installation as an environment variable named SPARK_HOME.

$ export SPARK_HOME=/path-to-folder/spark-1.5.2

Run the different script to process the import to MySQL, MongoDB and Neo4j.

$ ./process_mysql.sh
$ ./process_mongo.sh
$ ./process_neo4j.sh

If you want to modify something you need to rebuild the jar with sbt (you need to install it first)

sbt clean package

###RELATED WORK

We used the aggregated and cleaned data imported in Neo4j to apply some clustering algorithms on the resulting graph and detect communities in the network. Using the frequency of the routes as our edge weight, we could find communities of airports well connected between each other.

You can find this related project here.

storage-systems-comparison's People

Contributors

federico-fiorini avatar anadaniel avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar  avatar

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.