Giter VIP home page Giter VIP logo

gin-framework's Introduction

Gin - A Distributed Data Processing Framework

Gin is a Distributed Data Processing Framework implemented in Rust. It offers a DataFrame interface for processing Parquet files. Gin Library provides an API that allows reading Parquet files from S3 into a Dataframe and lazily run the transformations on it which are then triggered by actions.

Gin currently supports:

  • Transformations:
    • select - Select columns.
    • filter - Filter rows.
  • Actions:
    • width - Get the number of columns.
    • count - Count the number of rows.
    • sum - Sum of the values of the specified column.

Prerequisites

$ apt install -y protobuf-compiler

Installation

$ git clone https://github.com/malvag/gin-framework.git
$ cd gin-framework
$ cargo build --release

Run Gin

Start a Gin Cluster, specifying the number of executors.

$ ./gin-context start 4

Run the test client.

Note: You should change the S3 Credentials first and set up the bucket. We used MinIO for simplicity.

$ cargo run --release

Stop the cluster.

$ ./gin-context stop

Run MinIO

Run MinIO localy using docker.

$ docker run -p 9000:9000 -p 9090:9090 --name minio \
    -v ~/rust_c/s3-read/minio/data:/data \
    -e "MINIO_ROOT_USER=minioadmin" \
    -e "MINIO_ROOT_PASSWORD=minioadmin" \
    quay.io/minio/minio server /data --console-address ":9090"

As dataset, we used the yellow-taxi parquet file.

Contributors

  • Alexandra Alexandridi
  • Evangelos Maliaroudakis
  • Ioannis Melidonis

gin-framework's People

Contributors

imelidonis avatar malvag avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

imelidonis

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.