Profile picture
Stephan Ewen @StephanEwen
, 8 tweets, 3 min read Read on Twitter
Today, we announced @dataArtisans Streaming Ledger: Serializable ACID transactions across multiple tables, keys, and streams, in pure stream processing. We are removing the long standing limitation that streaming applications can only operate consistently on one key at a time.
Many applications need to guarantee integrity of data, with constraints across many tables, rows, entries, or keys. Examples are plentiful anywhere you deal with financial data, in master data management, in logistics, etc.
All these applications now become streamable.
I believe that this technology is the most significant addition to stream processing guarantees since exactly-once semantics were introduced a few years back. Exactly-once stateful stream processing is a commodity now, this is the new frontier of development.
Streaming ACID transactions complement the technology landscape: Like stateful stream processing combines event-driven computation and key/value-store-like state, streaming ledger combines streaming computation with relational-database-style consistent overall view of the data.
Rather than building on traditional optimistic/pessimistic transaction processing approaches, we came up with a new technology that is crafted to exploit the advantages of a stream processing: We exploit logical event-time, out-of-order-processing, and iterative dataflows.
The result is a processing scheme that guarantees serializable isolation by scheduling all state accesses and updates such that they provably obey a conflict-free schedule. The guarantees are better than in some of the world's best selling relational databases.
The approach also seems to be really fast. Without any specific work in performance optimization so far, we tested this at 2 million txns/sec across two tables of 100 million rows using 32 slots in Flink. 100% txn update rate, each txn mutating four rows each. Good start...
Find out more, like concepts, APIs, example on GitHub:
github.com/dataArtisans/d…

Please contact us if you want to take this for a test-drive:
data-artisans.com/streaming-ledg…
Missing some Tweet in this thread?
You can try to force a refresh.

Like this thread? Get email updates or save it to PDF!

Subscribe to Stephan Ewen
Profile picture

Get real-time email alerts when new unrolls are available from this author!

This content may be removed anytime!

Twitter may remove this content at anytime, convert it as a PDF, save and print for later use!

Try unrolling a thread yourself!

how to unroll video

1) Follow Thread Reader App on Twitter so you can easily mention us!

2) Go to a Twitter thread (series of Tweets by the same owner) and mention us with a keyword "unroll" @threadreaderapp unroll

You can practice here first or read more on our help page!

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just three indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member and get exclusive features!

Premium member ($3.00/month or $30.00/year)

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!