differential-datalog VS timely-dataflow

Compare differential-datalog vs timely-dataflow and see what are their differences.

differential-datalog

DDlog is a programming language for incremental computation. It is well suited for writing programs that continuously update their output in response to input changes. A DDlog programmer does not write incremental algorithms; instead they specify the desired input-output mapping in a declarative manner. (by vmware)

timely-dataflow

A modular implementation of timely dataflow in Rust (by TimelyDataflow)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
differential-datalog timely-dataflow
22 11
1,334 3,157
0.1% 0.9%
0.0 7.0
10 months ago 9 days ago
Java Rust
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

differential-datalog

Posts with mentions or reviews of differential-datalog. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-10-02.
  • DDlog: A programming language for incremental computation
    1 project | news.ycombinator.com | 13 Feb 2024
  • Feldera – a more performant streaming database based on Z-sets
    2 projects | news.ycombinator.com | 2 Oct 2023
    Hi,

    > I wonder if it lives up to the hype.

    We do think so! (disclaimer: I'm a co-founder at Feldera)

    To give some more background: We are co-designing/trialing feldera with several industry/enterprise partners from different domains. Our core team also built differential datalog (https://github.com/vmware/differential-datalog) in the past. And while ddlog is used quite successfully in products today, we believe the many lessons we learned with ddlog will help us to build an even better continuous analytics platform. FYI our code is open-source at https://github.com/feldera/feldera if you'd like to try it out.

    Also feel free to join our community slack channel (https://www.feldera.com/slack/) if you have more questions.

  • Why Are There No Relational DBMSs? [pdf]
    3 projects | news.ycombinator.com | 13 Mar 2023
    The relational model (and generally working at the level of sets/collections, instead of the level of individual values/objects) actually makes it easier to have this kind of incremental computation in a consistent way, I think.

    There's a bunch of work being done on making relational systems work this way. Some interesting reading:

    - https://www.scattered-thoughts.net/writing/an-opinionated-ma...

    - https://materialize.com/ which is built on https://timelydataflow.github.io/differential-dataflow/, which has a lot of research behind it

    - Which also can be a compilation target for Datalog: https://github.com/vmware/differential-datalog

    - Some prototype work on building UI systems in exactly the way you describe using a relational approach: https://riffle.systems/essays/prelude/ (and HN discussion: https://news.ycombinator.com/item?id=30530120)

    (There's a lot more too -- I have a hobby interest in this space, so I have a small collection of links)

  • Differential Datalog: a programming language for incremental computation
    1 project | /r/hypeurls | 8 Nov 2022
    8 projects | news.ycombinator.com | 8 Nov 2022
    Tutorial which I didn’t see linked in the README: https://github.com/vmware/differential-datalog/blob/master/d...
  • Show HN: Cozo – new Graph DB with Datalog, embedded like SQLite, written in Rust
    8 projects | news.ycombinator.com | 8 Nov 2022
    This is amazing!

    Have you looked at differential-datalog? It's rust-based, maintained by VMWare, and has a very rich, well-typed Datalog language. differential-datalog is in-memory only right now, but could be ideal to integrate your graph as a datastore or disk spill cache.

    https://github.com/vmware/differential-datalog

  • Help wanted!
    1 project | /r/ProgrammingLanguages | 24 May 2022
    Sort of related, in my mind at least, is differential dataflow, e.g. https://github.com/vmware/differential-datalog
  • Datalog in JavaScript
    5 projects | news.ycombinator.com | 27 Apr 2022
    It’s fascinating to see so many different parties converging on Datalog for reactive apps & UI.

    - There are several such talks at https://www.hytradboi.com/ (happening this Friday)

    - Roam Research and its clones Athens, Logseq, use Datascript / ClojureScript https://github.com/tonsky/datascript

    - differential-datalog isn’t an end-to-end system, but is highly optimized for quick reactivity https://github.com/vmware/differential-datalog

    - Datalog UI is a Typescript port of some of differential-datalog’s ideas https://datalogui.dev/

  • Call for Help - Open Source Datom/EAV/Fact database in Rust.
    8 projects | /r/rust | 1 Apr 2022
    Rust related https://github.com/vmware/differential-datalog
  • Anything like Svelte/Jetpack Compose for Haskell?
    4 projects | /r/haskell | 4 Dec 2021
    Actually, that makes me wonder whether or not differential datalog falls under that umbrella, and if it could be applied in the same way Compose is.

timely-dataflow

Posts with mentions or reviews of timely-dataflow. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-21.
  • Readyset: A MySQL and Postgres wire-compatible caching layer
    5 projects | news.ycombinator.com | 21 Feb 2024
    They have a bit about their technical foundation here[0].

    Given that Readyset was co-founded by Jon Gjengset (but has apparently since departed the company), who authored the paper on Noria[1], I would assume that Readyset is the continuation of that research.

    So it shares some roots with Materialize. They have a common conceptual ancestry in Naiad, where Materialize evolved out of timely-dataflow.

    [0]: https://docs.readyset.io/concepts/streaming-dataflow

    [1]: https://jon.thesquareplanet.com/papers/osdi18-noria.pdf

    [2]: https://dl.acm.org/doi/10.1145/2517349.2522738

    [3]: https://github.com/TimelyDataflow/timely-dataflow

  • Mandala: experiment data management as a built-in (Python) language feature
    4 projects | /r/ProgrammingLanguages | 11 Apr 2023
    And systems like timely dataflow, https://github.com/TimelyDataflow/timely-dataflow
  • Arroyo: A distributed stream processing engine written in Rust
    3 projects | /r/rust | 4 Apr 2023
    Project looks cool! Glad you open sourced it. It could use some comments in the code base to help contributors ;). I also like the datafusion usage, that is awesome. BTW I work on github.com/bytewax/bytewax, which is based on https://github.com/TimelyDataflow/timely-dataflow another Rust dataflow computation engine.
  • Rust MPI -- Will there ever be a fully oxidized implementation?
    4 projects | /r/rust | 5 Mar 2023
    Just found this https://github.com/TimelyDataflow/timely-dataflow and my heart skipped a beat.
  • Streaming processing in Python using Timely Dataflow with Bytewax
    1 project | /r/Python | 9 Nov 2022
    Bytewax is a Python native binding to the Timely Dataflow library (written in Rust) for building highly scalable streaming (and batch) processing pipelines.
  • Alternative Kafka Integration Framework to Kafka Connect?
    3 projects | /r/apachekafka | 21 Jun 2022
    I am working on Bytewax, which is a Python stream processing framework built on Timely Dataflow. It is not exactly a Kafka integration framework because it is a more of a general stream processing framework, but might be interesting for you. We are focused on enabling people to more easily debug, containerize, parallelize and customize and less on enabling a declarative integration framework. It is still early days for us! And we are looking for feedback and ideas from the community.
  • [AskJS] JavaScript for data processing
    5 projects | /r/javascript | 27 May 2022
    We used to use a library called Pond.js, https://github.com/esnet/pond, but the reliance on Immutable.JS caused some performance pitfalls, so we wrote a system from scratch that deals with data in a batched streaming fashion. A lot of the concepts were borrowed from a Rust library called timely-dataflow, https://github.com/TimelyDataflow/timely-dataflow.
  • Dataflow: An Efficient Data Processing Library for Machine Learning
    2 projects | /r/rust | 17 Jan 2022
    Though the name "Dataflow" might be an unfortunate name conflict with another Rust project: https://github.com/TimelyDataflow/timely-dataflow
  • Ask HN: Is there a way to subscribe to an SQL query for changes?
    17 projects | news.ycombinator.com | 22 Apr 2021
    > In the simplest case, I'm talking about regular SQL non-materialized views which are essentially inlined.

    I see that now -- makes sense!

    > Wish we had some better database primitives to assemble rather than building everything on Postgres - its not ideal for a lot of things.

    I'm curious to hear more about this! We agree that better primitives are required and that's why Materialize is written in Rust using using TimelyDataflow[1] and DifferentialDataflow[2] (both developed by Materialize co-founder Frank McSherry). The only relationship between Materialize and Postgres is that we are wire-compatible with Postgres and we don't share any code with Postgres nor do we have a dependence on it.

    [1] https://github.com/TimelyDataflow/timely-dataflow

  • 7 Real-Time Data Streaming Tools You Should Consider On Your Next Project
    2 projects | dev.to | 20 Mar 2021
    Under the hood, Materialize uses Timely Dataflow (TDF) as the stream-processing engine. This allows Materialize to take advantage of the distributed data-parallel compute engine. The great thing about using TDF is that it has been in open source development since 2014 and has since been battle-tested in production at large Fortune 1000-scale companies.

What are some alternatives?

When comparing differential-datalog and timely-dataflow you can also consider the following projects:

scryer-prolog - A modern Prolog implementation written mostly in Rust.

noria - Fast web applications through dynamic, partially-stateful dataflow

materialize - The data warehouse for operational workloads.

differential-dataflow - An implementation of differential dataflow using timely dataflow on Rust.

bytewax - Python Stream Processing

datalevin - A simple, fast and versatile Datalog database

realtime - Broadcast, Presence, and Postgres Changes via WebSockets

logica - Logica is a logic programming language that compiles to SQL. It runs on Google BigQuery, PostgreSQL and SQLite.

diagnostics - Diagnostic tools for timely dataflow computations

flow - 🌊 Continuously synchronize the systems where your data lives, to the systems where you _want_ it to live, with Estuary Flow. 🌊