PiCo (Pipeline Composition) is an open-source C++11 header-only DSL for high-performance data analytics, featuring low latency, high throughput, and minimal memory footprint on multi-core platforms.
Take a look to the word-count code to see how easy is writing a PiCo pipeline!
https://github.com/alpha-unito/pico/issues/new
The following steps require cmake >=3.1
as build system.
Get PiCo:
git clone https://github.com/alpha-unito/pico.git pico
The current implementation is based on FastFlow as runtime system. Get it and a link it:
git clone --single-branch -b fastflow3 https://github.com/fastflow/fastflow.git /path/to/fastflow
ln -s /path/to/fastflow/ff pico/
⛑️ A better solution for including FastFlow as dependency is under development!
Build and run the tests: (and examples)
cd pico
mkdir build && cd build
cmake .. -DPICO_ENABLE_UNIT_TEST=ON
cmake --build .
ctest
Good news! PiCo is header-only, you do not need to build/link any library to use it in your code. Just include PiCo headers at the beginning of your source file:
#include "pico/pico.hpp"
and use good ol' compiler flags to include PiCo (and FastFlow) when compiling your app
:
git clone https://github.com/alpha-unito/pico.git /path/to/pico
git clone --single-branch -b fastflow3 https://github.com/fastflow/fastflow.git /path/to/fastflow
g++ -I/path/to/pico/include -I/path/to/fastflow app.cc
⛑️ A modern CMake-based solution for linking PiCo (with its dependencies) is under development!
The examples folder contains some proof-of-concept applications, showing the PiCo user experience:
- word-count: PiCo pipelines 101 + visualizing application graphs
- stock-market: batch vs stream pipelines
- page-rank: iterative pipelines
Maurizio Drocco maurizio.drocco@pnnl.gov (maintainer)
Claudia Misale c.misale@ibm.com (creator + co-maintainer)
Alberto Riccardo Martinelli alberto.martinelli@edu.unito.it (co-maintainer)
Marco Aldinucci aldinuc@di.unito.it (boss)
Massimo Torquati torquati@di.unipi.it (FastFlow maintainer)
Guy Tremblay tremblay.guy@uqam.ca (DSL wizard)
C. Misale, M. Drocco, G. Tremblay, A. R. Martinelli, and M. Aldinucci, "PiCo: High-Performance Data Analytics Pipelines in Modern C++," Future Generation Computer Systems, Volume 87, 2018.