Coder Social home page Coder Social logo

sparkpp's Introduction

Sparkpp

A na(t)ive proof-of-concept implementation of Apache Spark in C++.

Compiled & tested under gcc-9.2.1, boost-1.71, cmake-3.15.

Inspired by rust Spark implementation native_spark and based on Spark-0.5.

Example

Check examples

Prerequisites

Check bin/prepare.sh

Installation

# install
./bin/prepare.sh                 # root
./bin/check.sh                   # check installation version
# env
export SPARK_LOCAL_IP=<local ip>
export CPUPROFILE=<profile file> # if google-gprof enabled
export CPUPROFILESIGNAL=<sig>    # if google-gprof enabled
# master
./bin/start_master.sh
# slave
./bin/start_slave.sh

TODOs

  • More precise concept control
  • Async network support (-fcoroutines, boost::asio::io_service::async_accept), replacing raw socket + thread_pool
  • Compare single boost::serialization without Cap'n Proto (& with boost flags, like no_headers)
  • Add config (master/slave addr/port) file support
  • new version of Spark optimizations: ShuffleWriter
  • See other TODOs in files

Random Thoughts

Check miscs/discussion.md and miscs/report.pdf

Reference

sparkpp's People

Contributors

airtnp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.