Jack Vanlightly (@vanlightly) header
Jack Vanlightly (@vanlightly) profile picture

Likes breaking ideas and systems, writing, picking systems apart @confluentinc Ex @Splunk, @VMware https://nitter.cf/t.co/voJWmL5iBE Credit: ESO/B. Tafreshi

Barcelona, Spain
Joined November 2016
Photo by Jack Vanlightly (@vanlightly)Photo by Jack Vanlightly (@vanlightly)Photo by Jack Vanlightly (@vanlightly)Photo by Jack Vanlightly (@vanlightly)Photo by Jack Vanlightly (@vanlightly)Photo by Jack Vanlightly (@vanlightly)Photo by Jack Vanlightly (@vanlightly)Photo by Jack Vanlightly (@vanlightly)Photo by Jack Vanlightly (@vanlightly)Photo by Jack Vanlightly (@vanlightly)
Finally got back to my WAL-on-S3 weekend project. I added my last spec, Conflux, a virtual consensus shared log that can operate entirely on S3. Next up, the final write up. github.com/Vanlightly/s3-wal…
2
5
51
2,277
My mermaid diagrams looked pretty cool in VS Code, but kinda suck on GitHub 😕
284
Jack Vanlightly retweeted
the speed difference here is between people who have customers already with real enterprise workloads they can’t break and those that don’t nothing slows you down more than having paying customers
Talked to multiple founders yesterday who have been building their products over the last 3 years. Started manual code. They feel behind and slower than companies that started this year with all code written by agents. I have never seen such an order of magnitude difference.
5
5
2
89
4,146
Claude is pretty good a spotting confounders in perf test results.
2
531
Jack Vanlightly retweeted
Recent security incidents are fundamentally changing how I think about open source. The original idea behind open source was great: bring people together to build better software through collective intelligence. But in the AI era, things are moving in a dangerous direction. Contributors are no longer humans, but AI agents. As AI becomes more capable, malicious contributions will inevitably become more sophisticated. And with an overwhelming volume of AI-generated pull requests, thorough human code review simply cannot scale. This could undermine the very foundation of open source. I see two possible paths forward: - Stop accepting code contributions. Accept PRDs and specifications instead, reviewed by trusted humans. Let AI agents handle the implementation. - Build superintelligent code review agents capable of comprehensively detecting security vulnerabilities, malicious code, and subtle attack vectors. Open source is fundamentally a good thing. But until we achieve at least one of these, I think we need to be extremely cautious about its future.
7
1
1
15
2,123
My TLA+ spec of Chroma's S3 impl of wal3 is done. Next weekend, the write-up where I'll find commonalities and differences across the surveyed WAL-on-S3 designs, maybe come up with some kind of taxonomy. I might come back later and cover the rest of the designs in my todo list, assuming the Interest Goblin is still interested by then. github.com/Vanlightly/s3-wal…
3
6
45
2,703
I think I've largely failed to make the wal3 spec generalized and abstract. I think I went too far trying to make it faithful to the implementation and so it has become a monster. Still, it did detect a real bug. I can't spend more time making it beautiful though. Day job. Will publish it over the weekend, then I'm calling it a day on writing more specs. I'll do the final write-up and classification of all the WAL-on-S3 designs I have surveyed.
19
1,137
Well, I got there too late. I just found a correctness bug in Chroma's wal3 this morning, and was working on an integration test to prove what my TLA+ spec found, and on reading the fork, I see that just 2 days ago, the bug got fixed! github.com/chroma-core/chrom…
1
11
801
Next up, Chroma's wal3. Should be an interesting write up when I stop collecting designs.
1
1
12
1,145
Another day, another WAL-on-S3 system encoded in a TLA+ spec. This one is Shared Stream Consensus (S2C) which is more of a shared log for SMR, but fits closely enough to a WAL. After all, a WAL on shared storage is a shared log. My spec confirmed a theoretical consistency bug in the design, related to GC freeing a log address so a stale writer could do a put-if-absent of a log entry behind the snapshot boundary. A second spec adds a fencing record in the log, SlateDB style, to avoid the scenario. github.com/Vanlightly/s3-wal…
4
5
31
1,635
I'm documenting the fix for the consistency issue I found in Shared Storage Consensus (S2C), and I'm referencing SlateDB (which I copied the solution from). That's what is neat about learning how varied systems work, you can easily steal what you already know works somewhere else! Will publish the latest spec over the weekend after more model checking.
1
1
22
1,431
cc @Mo69796244, I'll let you know when you can review ths spec and the variant with the fix.
1
1
347
When reverse engineering a TLA+ spec from code, the hardest thing is understanding the code. While AI can write syntactically correct TLA+, I can't say it's good at writing specs. So I write the spec and use AI to help me review it. But AI is really useful when reading the code. It helps me understand what each class does, the roles of certain variables and structures, things that without AI can be quite time consuming and laborious. But I still read the code, I want a good handle for its structure and organization. Then bit by bit, as I walk the flows in the code, I build up a more simplified model in TLA+. My goal in the end is understanding.
5
1
25
1,416
This morning I decided to look at Shared Storage Consensus (S2C) and one glaring correctness bug already stands out before I have started writing a spec. GC can delete log segments that allow a stale writer to make progress (resulting in unreadable data aka data loss). SlateDB uses fencing records which are not GCed for this purpose. S2C does not have this and so GC introduces a consistency problem. Whenever the WAL is defined by a sequential address space guarded by put-if-absent, GC introduces the risk of allowing a stale writer to make progress resulting in data loss.
1
1
23
1,322
Another WAL-on-S3 design verified, Objwal. That's 4 single-writer WALs and 4 multi-writer WALs so far. Gonna add a few more before I do a classification and write-up. github.com/Vanlightly/s3-wal…
5
41
2,143
We need a new operating model for OSS
Why don’t OSS projects post specs and prompts for work they want done? I have 3 token resets that expire in 5 days. That’s a lot of compute I could donate.
1
10
1,445