differential-datalog VS diagnostics

Compare differential-datalog vs diagnostics 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)

diagnostics

Diagnostic tools for timely dataflow computations (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 diagnostics
22 1
1,334 41
0.1% -
0.0 0.0
10 months ago almost 2 years 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.

diagnostics

Posts with mentions or reviews of diagnostics. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-01-22.
  • Why isn't differential dataflow more popular?
    13 projects | news.ycombinator.com | 22 Jan 2021
    I've been using DD in production usage for just over a year now for low latency(sub second from event IRL to pipeline CDC output) processing in a geo-distributed environment(100's of locations globally coordinating) some days at the TB per day level of event ingest.

    DD for me was one of the final attempts to find something, anything, that could handle the requirements I was working with, because Spark, Flink, and others just couldn't reasonably get close to what I was looking for. The closest 2nd place was Apache Flink.

    Over the last year I've read through the DD and TD codebases about 5-7 times fully. Even with that, I'm often in a position where I go back to my own applications to see how I had already solved a type of problem. I liken the project to taking someone use to NASCAR and dropping them into a Formula One vehicle. You've seen it work so much faster, and the tech and capabilities are clearly designed for so much more than you can make it do right now.

    A few learning examples that I consider funny:

    1. I had a graph that was on the order of about 1.2 trillion edges with about 90 million nodes. I was using serde derived structs for the edge and node structs(not simplified numerical types), which means I have to implement(or derive) a bunch of traits myself. I spent way more time than I'd like to admit trying to get .reduce() to work to remove 'surplus' edges that have already been processed from the graph to shrink the working dataset. Finally in frustration and reading through the DD codebase again, I 'rediscovered' .consolidate() which 'just worked' taking the 1.2 trillion edges down into the 300 million edges. For instance, some of the edge values I need to work with have histograms for the distributions, and some of the scoring of those histograms is custom. Not usually an issue, except having to figure out how to implement a bunch of the traits has been a significant hurdle.

    2. I get to constantly dance between DD's runtime and trying to ergonomically connect the application into the tonic gRPC and tokio interfaces. Luckily I've found a nice pattern where I create my inter-thread communication constructs, then start up 2 rust threads, and start tokio based interfaces in one, and DD runtime and workers in the other. On bigger servers(packet.net has some great gen3 instances) I usually pin tokio to 2-8 cores, and leave the rest of the cores to DD.

    3. Almost every new app I start, I run into the gotcha where I want to have a worker that runs only once 'globally' and it's usually the thread that I'd want to use to coordinate data ingestion. Super simple to just have a guard for if worker.index() == 0, but when deep in thought about an upcoming pipeline, it's often forgotten.

    4. For diagnostics, there is: https://github.com/TimelyDataflow/diagnostics which has provided much needed insights when things have gotten complex. Usually it's been 'just enough' to point into the right direction, but only once was the output able to point exactly to the issue I was running into.

    5. I have really high hopes for materialize.io That's really the type of system I'd want to use in 80% of the cases I'm using DD right now. I've been following them for about a year now, and the progress is incredible, but my use cases seem more likely to be supported in the 0.8->1.3 roadmap range.

    6. I've wanted to have a way to express 'use no more than 250GB of ram' and have some way to get a compile time feedback that a fixed dataset won't be able to process the pipeline with that much resources. It'd be far better if the system could adjust its internal runtime approach in order to stay within the limits.

What are some alternatives?

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

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

timely-dataflow - A modular implementation of timely dataflow in Rust

rslint - A (WIP) Extremely fast JavaScript and TypeScript linter and Rust crate

materialize - The data warehouse for operational workloads.

sliding-window-aggregators - Reference implementations of sliding window aggregation algorithms

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

blog - Some notes on things I find interesting and important.

datalevin - A simple, fast and versatile Datalog database

lambdo - Feature engineering and machine learning: together at last!

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

ballista - Distributed compute platform implemented in Rust, and powered by Apache Arrow.