Skip to main content

Quickstart

In this tutorial, we'll walk through the basics of Hydroflow+ by building a simple dataflow that prints out the first 10 natural numbers. We'll start with a single process, then pipeline the computation, and finally distribute it across a cluster.

To get started with a new project, we'll use the Hydroflow+ template. The template comes with a pre-configured build system and an implementation of the following examples.

cargo install cargo-generate
cargo generate gh:hydro-project/hydroflow template/hydroflow_plus
# Project Name: my-example-project
cd my-example-project

After cding into the generated folder, ensure the correct nightly version of rust is installed and test the generated project:

rustup update
cargo test