GithubHelp home page GithubHelp logo

gabrieljp314 / a1_computacao_escalavel Goto Github PK

View Code? Open in Web Editor NEW

This project forked from almirfonseca/a1_computacao_escalavel

0.0 0.0 0.0 621 KB

License: Apache License 2.0

Shell 0.69% C++ 80.19% Python 15.99% Makefile 0.23% CMake 2.91%

a1_computacao_escalavel's Introduction

Data Framework

The Data Framework is a C++ project that provides a set of functions for handling data processing pipelines, focusing on concurrent and parallel execution. With various functions available, users can perform several useful operations for data wrangling.

Features:

The project is based on a data processing pipeline modeling with 5 abstractions:

  1. Dataframe: a tabular data structure that stores the data to be processed.
  2. Handler: a function that processes the data from a Dataframe.
  3. Repository: a data structure that stores the Dataframes.
  4. Trigger: a function that triggers the execution of a Handler.
  5. Queue: a data structure that stores the input and output Dataframes of a Handler.

To optimize the use of computing resources, Data Framework uses the C++ thread library to parallelize the execution of Handlers. This allows for more efficient and faster data processing. Specifically, queues serve as producer-consumer queues, addressing the classic problem of parallel computing.

Pre-Requirements:

  • C++ compiler (version 11+)
  • Python 3.11+

Libraries used:

Execution on WSL Ubuntu (tested):

  1. First, from the root folder, generate the scripts from proto for CLIENT stub:

    • cd shared_proto ;
    • python -m grpc_tools.protoc --proto_path=. ./data_analytics.proto --python_out=../mock --grpc_python_out=../mock
  2. Run the Mock and the ETL (SERVER):

  • The first alternative is to run the shell script:

    • From the root folder, open a terminal and execute the command run the SERVER:

      • cd src ; make ; ./server
    • From the root folder, open a terminal and run the Dashboard::

      • cd dashboard; python -m streamlit run main.py
    • From the root folder, open a terminal and execute the command to run the MOCK:

      • cd mock ; python main.py

a1_computacao_escalavel's People

Contributors

jucarv-bit avatar almirfonseca avatar gustavorrocha avatar gabrieljp314 avatar luan-vht3 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.