
Software Practice Lead @confluentinc, Committer @ApacheFlink Also: https://teapawt.org/t.co/CQ9sy6smov
Seattle
Joined March 2007
- Tweets5K
- Following1.8K
- Followers1.1K
- Likes20.4K
I just saw the paper as a result of @martin_casado's tweet (didn't see the paper when it was originally posted in Feb). Indeed, the analysis is great and the figures really make the paper shine! Nice work, Dhruva Karkada, Daniel J. Korchinski, Andres Nava, Matthieu Wyart, and @yasamanbb! I love analyses that reveal even more about the amazing hidden structures in word embeddings.
arxiv.org/pdf/2602.15029
David Anderson retweeted
This is the doom I predicted a few days ago, coming for Photoshop. A clean-room open-source reimplementation.
No prizes for guessing that they decompiled Photoshop to source code, processed that to some kind of non-code specification language, then fed the spec to an LLM with an instruction to generate Rust.
Adobe just got nuked. And closed source is dead, dead, dead.
github.com/storytold/photocr…
We’ve had a blast building this. Hope you like it!
Have you ever found yourself thinking…Flink Watermarks…WTF?
This new tool might be for you :)
It's a hands-on, scrollytelling walkthrough of what watermarks in #ApacheFlink are, why they matter, and how to use them.
Try it out: flink-watermarks.wtf/
1
200
David Anderson retweeted
Yesterday we hosted SF's most exclusive demo day.
Only 10 teams, all of them with moonshot visions.
Here's an inside look at the demos: (🧵)
I have a new video up on YouTube — youtu.be/5TK8UrmU83I — about doing complex event processing with #apacheflink. This might sound like an obscure topic, but I have found this technique to be super-powerful, and broadly applicable.
1
180
David Anderson retweeted
Prequal is a must-read paper that makes YouTube +5-10% faster.
They show that load balancing w/ requests-in-flight and latency outperforms weighted round robin on CPU load (and why).
A rare paper showing distributed systems research working in production.
Here’s how:
1/4
David Anderson retweeted
It's not too hard to build a stream processor, right? Operators, network, add checkpoints, done.
Making state and snapshots work really well and efficiently has been a continuous effort since we introduced this in @ApacheFlink in 2015.
Here is a nice article revisiting all that work, as part of the efforts for disaggregated state storage: alibabacloud.com/blog/evolut…
There is so much going into this, for example:
(1) Making sure networks buffer enough to get good throughput, but not too much to cause long alignment/synchronization times (Flink calls this buffer de-bloating)
(2) Understanding when to switch from aligned to un-aligned checkpoints. Aligned contain just operator state, which makes them cheaper and allows for more flexibility during recovery, but unaligned checkpoints suffer much less from backpressure. Flink can dynamically switch between them during a checkpoint.
(3) Do you just upload state snapshots (here RocksDB SST files) at a checkpoint, or do you continuously persist the log or continuously persist SST files. The former is often significantly cheaper (fewer uploads) the later reduces checkpoint times a lot.
(4) Flexibility in elasticity means you ultimately need to separate the logical partitioning (very fine grained for elasticity) from physical partitioning (more coarse grained, because it determines resource footprint like files, memory buffers, etc.). Doing that separation gives you elastic systems (like @PingCAP, or @CockroachDB) and not doing that gives you static systems like #Kafka. That separation itself comes at a price typically felt when rescaling the system and re-mapping logical and physical partitions. Flink, but also TiKV and others have gone back and forth on how to best to that with RocksDB, exploiting logical range deletions, linking and lazily merging SSTs in the LSM, etc.
(5) For analytical systems, disaggregated architectures need local caches for the operating state (joins, aggregates, custom state), for efficiency and cost (costs real $$$ to go to S3 for every operation). Lazily populating caches is great for faster restore, but tanks maximum throughput for some time. Often enough this might not matter, but it can lead you to misjudge the required resources to catch up after a bigger failure.
There exist clever approaches to handle many of those, but it is a big engineering challenge to get this working well. And some inherent trade-offs remain.
And this isn't specific to stream processing. We are currently building @restatedev, a system for durable execution and operational/transactional event-driven apps.
Restate manages persistent logs and state as well, and many of the same challenges come back.
To just spell out one: I think the ecosystem misses an LSM-tree-based index (like RocksDB) with support for efficient splitting, merging, and moving of key ranges between different instances. Every system that embeds such an index needs that at some point when re-scaling the number of nodes. Maybe SlateDB will do that at some point (/cc @criccomini)?
alibabacloud.com/blog/evolut…
David Anderson retweeted
Watermarks are at the heart of what makes stream processing with #FlinkSQL possible. Join @alpinegizmo as he explains the ins and outs of watermarking in in the latest video from his new course on #ApacheFlink SQL.
Check it out on Confluent Developer ➡️ cnfl.io/3XSiR2Z
David Anderson retweeted
You haven't seen complexity in art until you've seen this 600-year-old painting.
It's so detailed that modern medicine has been able to diagnose this man's exact type of blindness.
And that's where things get mind-bendingly strange — this whole thing is an illusion... 🧵
David Anderson retweeted
He’s right! @alpinegizmo and I can’t stop, won’t stop practicing for #current24.
David Anderson retweeted
Meet the new emerging role: The Data Streaming Engineer.
During our day 2 #Current24 Keynote, learn how this role is bringing together the work of app developers, data engineers, data scientists and more—potentially redefining the work you already do.
David Anderson retweeted
Blogged: Predicting the Future of Distributed Systems
blog.colinbreck.com/predicti…
David Anderson retweeted
Our pre-#current24 summer meetup series continues on July 25th with some #apacheFlink! 🐿️
Sign up now to catch @sharon_rxie and @alpinegizmo
as they dive into timing in #flinkSQL and enrichment patterns. ⤵️
meetup.com/kafkabayarea/even…
David Anderson retweeted
Adding queue semantics as an API over logs provides the cooperative consumption advantages of traditional queues while fixing some of the queue structure's disadvantages: lack of replay and the need for write amplification. Read more in @vanlightly's blog: cnfl.io/449EFd0
David Anderson retweeted
1/ There is a mini open source drama, this time because RedPanda, a company with a source-available Apache Kafka clone, bought an open source connector framework and made licensing and trademark changes to thwart other startup competition. (a thread) news.ycombinator.com/item?id…
David Anderson retweeted
I've spent the past ~3 weeks going through the entire history of deep learning and reimplementing all the core breakthroughs.
It has completely changed my beliefs about deep learning progress and where we're headed.
Progress tracker in thread (all resources at the end) 👇
David Anderson retweeted
On July 25th, we're inviting #apacheFlink to our #apacheKafka party. Hear from @alpinegizmo and Sharon Xie.
meetup.com/kafkabayarea/even…
David Anderson retweeted
It’s no secret that LLM training data is running out. How close are we to the limit? To answer that, here's an estimate of the total amount of text in the world from every major source:
David Anderson retweeted
👨🍳 Looking for practical #ApacheFlink use case examples? We prepared a cookbook with a collection of best practices, with real-life use cases including:
🌰 Joining and deduplicating data
🌰 Deserializing JSON from #Kafka
Plus many more!
Start cooking: cnfl.io/github-flink-cookboo…
David Anderson retweeted
❌ Delete the duplicates!
With exactly-once semantics, each message is delivered precisely once. But how does it work?
Learn about the concept and how #ApacheFlink enables exactly-once processing for your real-time streaming data with our new video: brnw.ch/21wJy4U


























