upcarta
  • Sign In
  • Sign Up
  • Explore
  • Search

Noria: dynamic, partially-stateful data-flow for high-performance web applications

  • Paper
  • #DataScience #Datainfrastructure
Jon Gjengset
@jonhoo
(Author)
pdos.csail.mit.edu
Read on pdos.csail.mit.edu
1 Recommender
1 Mention
We introduce partially-stateful data-flow, a new streaming data-flow model that supports eviction and reconstruction of data-flow state on demand. By avoiding state explosion and su... Show More

We introduce partially-stateful data-flow, a new streaming data-flow model that supports eviction and reconstruction of data-flow state on demand. By avoiding state
explosion and supporting live changes to the data-flow
graph, this model makes data-flow viable for building
long-lived, low-latency applications, such as web applications. Our implementation, Noria, simplifies the backend infrastructure for read-heavy web applications while
improving their performance.
A Noria application supplies a relational schema and a
set of parameterized queries, which Noria compiles into
a data-flow program that pre-computes results for reads
and incrementally applies writes. Noria makes it easy
to write high-performance applications without manual
performance tuning or complex-to-maintain caching layers. Partial statefulness helps Noria limit its in-memory
state without prior data-flow systems’ restriction to windowed state, and helps Noria adapt its data-flow to
schema and query changes while on-line. Unlike prior
data-flow systems, Noria also shares state and computation across related queries, eliminating duplicate work.
On a real web application’s queries, our prototype
scales to 5× higher load than a hand-optimized MySQL
baseline. Noria also outperforms a typical MySQL/memcached stack and the materialized views of a commercial
database. It scales to tens of millions of reads and millions of writes per second over multiple servers, outperforming a state-of-the-art streaming data-flow system

Show Less
Recommend
Post
Save
Complete
Collect
Mentions
See All
Gunnar Morling 🌍 @gunnarmorling · Aug 20, 2023
  • Post
  • From Twitter
"#Noria: dynamic, partially-stateful data-flow for high-performance web applications" A true classic on data flow systems, by @jonhoo et al., with key contributions on partial state management, state re-use, and query changes. Great read. #SundayPaper
  • upcarta ©2025
  • Home
  • About
  • Terms
  • Privacy
  • Cookies
  • @upcarta