Giter Club home page Giter Club logo

distributeddataprocessing's Introduction

Distributed Data Processing

This project develops a program that populates with random records two tables in two different databases (SQLite, Redis) and implements external data join algorithms such as createTable, insertData, pipelined hash join and semi-join.

Purpose

The purpose of this project is to develop a system that:

  • Creates and populates databases with random records.
  • Implements pipelined hash join and semi-join algorithms.

Functions

This program include the following functions:

  1. Create and populates the database with random records.
  2. Implement pipelined hash join and semi-jion algorithm.

Prerequisites

  • Java Development Kit (JDK)
  • Docker (αν θέλεις να τρέξεις το project με Docker)
  • Redis
  • SQLite

Configuration

To run the project, you need to set the database elements to the appropriate variables in the main class.

private static final String REDIS_HOST = "localhost";
private static final int REDIS_PORT = 6379;
private static final String SQLITE_URL = "jdbc:sqlite:sample.db";

Execution instructions

Without Docker

  1. Clone the repository: git clone https://github.com/yourusername/distributed-data-processing.git cd distributed-data-processing
  2. Configure the database data in the main.java.
  3. Run the main.java via your IDE or from the command line: javac Main.java java Main

With Docker

  1. Clone the repository: git clone https://github.com/yourusername/distributed-data-processing.git cd distributed-data-processing
  2. Run the following command to build and run the Docker container: docker-compose up --build

Algorithms

Pipelined Hash Join

The algorithm Pipelined Hash Join used for the connection two database which saved the two databases (SQLite και Redis).

Semi-Join

The Semi-Join algorithm is used to join two data sets in a way that filters the data of one set based on the data of the other.

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.