DBDB.io The Encyclopedia of Database Systems · Est. 2017
Database of Databases

Database Entry

RisingWave


RisingWave is an open-source distributed streaming database targeting real-time analytics and event-driven applications. It uses the incremental computation model to process streaming data with low latency. RisingWave implements a traditional change propagation framework to keep user-defined materialized views up-to-date. An incremental checkpoint mechanism is used to ensure data consistency. It also has an elastic multi-node architecture with separate data and compute nodes. RisingWave is built from scratch with Rust, and is wire compatible with PostgreSQL.[05][06][07]

Source Code
https://github.com/risingwavelabs/risingwave[02]
Country of Origin
US
Start Year
2021
Project Types
Commercial, Open Source
Written in
Rust
Operating System
Linux
License
Apache v2

Database Entry

RisingWave


RisingWave is an open-source distributed streaming database targeting real-time analytics and event-driven applications. It uses the incremental computation model to process streaming data with low latency. RisingWave implements a traditional change propagation framework to keep user-defined materialized views up-to-date. An incremental checkpoint mechanism is used to ensure data consistency. It also has an elastic multi-node architecture with separate data and compute nodes. RisingWave is built from scratch with Rust, and is wire compatible with PostgreSQL.[05][06][07]

History[08][09]


RisingWave Database is built by RisingWave Labs (formerly known as Singularity Data), a database systems startup founded in 2021 by former IBM researcher and Amazon Redshift engineer Yingjun Wu.

While working at Amazon Redshift, Wu noticed that existing database systems cannot process streaming data efficiently and existing streaming systems were too complicated for most companies to use. This observation motivated Wu to found RisingWave Labs with a mission to “democratize stream processing”.

Checkpoints[10][11][12]


RisingWave uses the Chandy–Lamport algorithm to create consistent checkpoints.

To ensure that data is correct and consistent, read queries always fetch data from the most recent checkpoint. This means RisingWave does not ensure read-after-write consistency.

A local shared buffer is used to stage uncommitted write batches submitted by operators. The storage manager will notify all operators to commit their buffered writes into the shared storage when checkpoint trigger message has reached all operators.

Compression[13][14]


RisingWave applies both naive compression and prefix compression at block-level. It uses LZ4 and Zstd for naive compression.

Concurrency Control[15]


RisingWave employs Multi-version Concurrency Control (MVCC) in its cloud-native LSM-Tree-based storage engine. It creates one checkpoint at a time (as opposed to concurrent checkpointing), and performs read operation on the most-recently committed checkpoint. Read operation that immediately follows a write operation may not see the newest change if the two operations are performed on different compute nodes.

Data Model[16]


RisingWave uses a relational data model. Relational tables are composed of a list of strong-typed columns. All columns are implicitly nullable. RisingWave supports primitive data types of: boolean, integer, fixed-point and floating-point numbers, strings, and temporals. Composite data types of struct and list are also supported.

Query Interface


SQL

System Architecture


Citations

16 sources
  1. RisingWave | Streaming Infrastructure for Agentic AI risingwave.com
  2. GitHub - risingwavelabs/risingwave: Event streaming platform for agentic AI. Continuously ingest, transform, and serve event streams in real time, at scale. · GitHub github.com
  3. https://docs.risingwave.com/docs/latest/intro risingwave.com Dead — Check Archive
  4. https://twitter.com/RisingWaveLabs twitter.com
  5. https://docs.risingwave.com/docs/current/intro risingwave.com Dead — Check Archive
  6. risingwave/docs at main · risingwavelabs/risingwave · GitHub github.com
  7. https://www.risingwave.com/products/RisingWaveDatabase/ risingwave.com Dead — Check Archive
  8. https://www.risingwave.com/company/ risingwave.com Dead — Check Archive
  9. Streaming data processing platform RisingWave lands $36M to launch a cloud service | TechCrunch techcrunch.com
  10. https://github.com/risingwavelabs/risingwave/blob/main/docs/checkpoint.md github.com Dead — Check Archive
  11. https://docs.risingwave.com/docs/current/fault-tolerance risingwave.com Dead — Check Archive
  12. https://docs.risingwave.com/docs/current/data-persistence risingwave.com Dead — Check Archive
  13. risingwave/src/storage/src/hummock/sstable/block.rs at f0a099185dfa24893713c18235277141c17e011a · risingwavelabs/risingwave · GitHub github.com
  14. https://github.com/risingwavelabs/risingwave/blob/main/docs/state-store-overview.md#compaction github.com Dead — Check Archive
  15. https://github.com/risingwavelabs/risingwave/blob/main/docs/state-store-overview.md github.com Dead — Check Archive
  16. https://github.com/risingwavelabs/risingwave/blob/main/docs/data-model-and-encoding.md github.com Dead — Check Archive
Revision #8