TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Differential Dataflow

120 pointsby timhiginsover 4 years ago

8 comments

dna_polymeraseover 4 years ago
Differential Dataflow is about differential computation which itself is a generalization of incremental computing, most commonly known from Excel.<p>A good introduction to the overall topic is incremental [0] an OCaml library by Jane Street and the corresponding blog posts and videos [1]. They even use it for webapps [2].<p>[0]: <a href="https:&#x2F;&#x2F;github.com&#x2F;janestreet&#x2F;incremental" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;janestreet&#x2F;incremental</a><p>[1]: <a href="https:&#x2F;&#x2F;www.janestreet.com&#x2F;tech-talks&#x2F;seven-implementations-of-incremental&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.janestreet.com&#x2F;tech-talks&#x2F;seven-implementations-...</a> (Great to understand fundamentals of an incremental computation graph)<p>[2]: <a href="https:&#x2F;&#x2F;www.janestreet.com&#x2F;tech-talks&#x2F;intro-to-incr-dom&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.janestreet.com&#x2F;tech-talks&#x2F;intro-to-incr-dom&#x2F;</a>
评论 #24839192 未加载
评论 #24842004 未加载
评论 #24840457 未加载
thomover 4 years ago
This is also the tech powering Materialize, which is an awesome materialised view maintenance engine with a Postgres like interface:<p><a href="https:&#x2F;&#x2F;materialize.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;materialize.io&#x2F;</a>
评论 #24838068 未加载
metalrainover 4 years ago
I was kind of caught up on comment &quot;if (m2, m1) and (m1, p), then output (m1, (m2, p))&quot;. When input is [(m2, m1), (m1, p)] and is pairwise switched and joined with unreversed input.<p>If m2 manages m1 and m1 manages p then m2 manages p via m1, but I could not quite understand what this example output should mean. M1 manages m2 and p? M1 is managed by m2 and p. Neither seems correct.
评论 #24839415 未加载
Jtsummersover 4 years ago
What are people here using differential dataflow for?
评论 #24841441 未加载
评论 #24842637 未加载
kvbeover 4 years ago
How is this different than for example rule engines where you have certain inputs, a calculation&#x2F;solver engine and then you get the outputs for it?
konduover 4 years ago
this is also one of the main ideas behind Noria[1] (built by @jonhoo, who also gave his PhD dissertation[2] on this recently)<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;mit-pdos&#x2F;noria" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;mit-pdos&#x2F;noria</a><p>[2] <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=GctxvSPIfr8" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=GctxvSPIfr8</a>
monksyover 4 years ago
This sounds like streaming and what kafka streaming has been doing for a while. Everything is eventually consistent and what&#x27;s served up is the current state at the time of the request.
评论 #24841050 未加载
skydeover 4 years ago
Can someone explain in simple english what is the difference between this and Automatic Materialized as implemented in SqlServer and Oracle
评论 #24841541 未加载