Hydroflow: Dataflow Runtime in Rust
github.com
github.com
Hydro homepage: https://hydro.run/
For a fun easy demo check out the Hydroflow surface syntax playground: https://hydro.run/playground
More info on the Hydro project and stack, CIDR '21: https://hydro.run/papers/new-directions.pdf
Info on the "lattice flow" model in Hydroflow: https://hydro.run/papers/hydroflow-thesis.pdf
e: Also happy to answer any questions! :)
To my understanding, I just implement small pieces of the processing steps and connect them through a common bus like Kafka. All those steps are just independent binaries. And to make the final processing flow I run multiple instances manually scaled depending on the task. Like to make an aggregation / reduce I just make sure I have only one instance of that binary is running. And so on. All can be orchestrated and scaled using Kubernetes or similar. Is that how I supposed to design the processing?
We do have a tool, Hydro Deploy, to setup and manage Hydro cluster deployment on GCP (other clouds later), but it's mainly for running experiments and not long-running applications.
The long term idea is that the Hydro stack will determine how to distribute and scale programs as part of the compilation process. Some of that will be rewriting single-node Hydroflow programs into multi-node ones.
Btw, another questions. Things like Flink provide a dashboard to analyze the processing flow / graph, to see the bottlenecks, etc. To my understanding Hydroflow doesn't provide it yet, but I'm curious if you're working on something like that, or if it provides other kind of metrics, perhaps something compatible with Grafana?
Katara is a project to synthesize CRDTs from a C++ implementation of a regular plain-old data structure along with a few annotations
As a sibling commenter mentioned, it's built on timely dataflow (which is lower-level), but that already has differential dataflow[0] built on top of it by the same authors.
How do they differ?
(btw. I think dataflow is very cool as a computing model (not just timely dataflow), to the point of building OctoSQL[1] around it, so I'm really curious about the details here)
[0]: https://github.com/TimelyDataflow/differential-dataflow
I may ask a stupid question, but from reading the description on the page you linked, how are timely and differential dataflow different from implementation details of 80s reactive programming such as SIGNAL (https://ieeexplore.ieee.org/document/97301) ?
> Differential dataflow programs look like many standard "big data" computations, borrowing idioms from frameworks like MapReduce and SQL. However, once you write and run your program, you can change the data inputs to the computation, and differential dataflow will promptly show you the corresponding changes in its output. Promptly meaning in as little as milliseconds.
[0]: https://sigops.org/s/conferences/sosp/2013/papers/p439-murra...
Another project I’m excited about in this space is VMware’s steaming database processor https://github.com/vmware/database-stream-processor
EDIT: I said that after checking the cargo.lock for Timley/Differential, but the author says those are just around for benchmarking! Nevermind :)