RisingWave

流数据库:重新定义流处理。兼容 PostgreSQL、高性能、可扩展、弹性和可靠的 ☁️。「The streaming database: redefining stream processing 🌊. PostgreSQL-compatible, highly performant, scalable, elastic, and reliable ☁️.」

🌊Stream Processing Redefined.

RisingWave is a distributed SQL streaming database that enables cost-efficient and reliable processing of streaming data.

RisingWave

Try it out in 5 minutes

Mac

brew tap risingwavelabs/risingwave
brew install risingwave
risingwave playground

Ubuntu

wget https://github.com/risingwavelabs/risingwave/releases/download/v1.3.0/risingwave-v1.3.0-x86_64-unknown-linux.tar.gz
tar xvf risingwave-v1.3.0-x86_64-unknown-linux.tar.gz
./risingwave playground

Docker

docker run -it --pull=always -p 4566:4566 -p 5691:5691 risingwavelabs/risingwave:latest playground

Now connect to RisingWave using psql:

psql -h localhost -p 4566 -d dev -U root

Learn more at Quick Start.

Production deployments

For single-node Docker deployments, please refer to Docker Compose.

For Kubernetes deployments, please refer to Kubernetes with Helm or Kubernetes with Operator.

RisingWave Cloud the easiest way to run a fully-fledged RisingWave cluster. Try it out for free at: cloud.risingwave.com.

Why RisingWave for stream processing?

RisingWave adaptly addresses some of the most challenging problems in stream processing. Compared to existing stream processing systems like Apache Flink, Apache Spark Streaming, and KsqlDB, RisingWave stands out in two primary dimensions: Ease-of-use and efficiency, thanks to its PostgreSQL-style interaction experience and Snowflake-like architectural design (i.e., compute-storage decoupling).

Ease-of-use

  • Simple to learn
    • RisingWave speaks PostgreSQL-style SQL, enabling users to dive into stream processing in much the same way as operating a PostgreSQL database.
  • Simple to verify correctness
    • RisingWave persists results in materialized views and allow users to break down complex stream computation programs into stacked materialized views, simplifying program development and result verification.
  • Simple to maintain and operate
    • RisingWave abstracts away unnecessary low-level details, allowing users to concentrate solely on SQL code-level issues.
  • Simple to integrate
    • With integrations to a diverse range of cloud systems and the PostgreSQL ecosystem, RisingWave boasts a rich and expansive ecosystem, making it straightforward to incorporate into existing infrastructures.

Efficiency

  • High resource utilization
    • Queries in RisingWave leverage shared computational resources, eliminating the need for users to manually allocate resources for each query.
  • No compromise on large state management
    • The decoupled compute-storage architecture of RisingWave ensures remote persistence of internal states, and users never need to worry about the size of internal states when handling complex queries.
  • Highly efficient in multi-stream joins
    • RisingWave has made significant optimizations for multiple stream join scenarios. Users can easily join 10-20 streams (or more) efficiently in a production environment.
  • Transparent dynamic scaling
    • RisingWave supports near-instantaneous dynamic scaling without any service interruptions.
  • Instant failure recovery
    • RisingWave's state management mechanism allows it to recover from failure in seconds, not minutes or hours.
  • Simplified data stack
    • RisingWave's ability to store data and serve queries eliminates the need for separate maintenance of stream processors and databases. Users can effortlessly connect RisingWave to their preferred BI tools or through client libraries.

RisingWave's limitations

RisingWave isn’t a panacea for all data engineering hurdles. It has its own set of limitations:

  • No programmable interfaces
    • RisingWave does not provide low-level APIs in languages like Java and Scala, and does not allow users to manage internal states manually (unless you want to hack!). For coding in Java, Scala, and other languages, please consider using RisingWave's User-Defined Functions (UDF).
  • No support for transaction processing
    • RisingWave isn’t cut out for transactional workloads, thus it’s not a viable substitute for operational databases dedicated to transaction processing. However, it supports read-only transactions, ensuring data freshness and consistency. It also comprehends the transactional semantics of upstream database Change Data Capture (CDC).
  • Not tailored for ad-hoc analytical queries
    • RisingWave's row store design is tailored for optimal stream processing performance rather than interactive analytical workloads. Hence, it's not a suitable replacement for OLAP databases. Yet, a reliable integration with many OLAP databases exists, and a collaborative use of RisingWave and OLAP databases is a common practice among many users.

In-production use cases

Like other stream processing systems, the primary use cases of RisingWave include monitoring, alerting, real-time dashboard reporting, streaming ETL (Extract, Transform, Load), machine learning feature engineering, and more. It has already been adopted in fields such as financial trading, manufacturing, new media, logistics, gaming, and more. Check out customer stories.

Community

Looking for help, discussions, collaboration opportunities, or a casual afternoon chat with our fellow engineers and community members? Join our Slack workspace!

Notes on telemetry

RisingWave collects anonymous usage statistics to better understand how the community is using RisingWave. The sole intention of this exercise is to help improve the product. Users may opt out easily at any time. Please refer to the user documentation for more details.

License

RisingWave is distributed under the Apache License (Version 2.0). Please refer to LICENSE for more information.

Contributing

Thanks for your interest in contributing to the project! Please refer to contribution guidelines for more information.

主要指标

概览
名称与所有者risingwavelabs/risingwave
主编程语言Rust
编程语言 (语言数: 14)
平台
许可证Apache License 2.0
所有者活动
创建于2022-01-28 12:58:03
推送于2025-06-05 16:09:22
最后一次提交
发布数107
最新版本名称v2.3.3 (发布于 )
第一版名称v0.1.0 (发布于 )
用户参与
星数7.8k
关注者数82
派生数647
提交数13k
已启用问题?
问题数7152
打开的问题数1120
拉请求数13187
打开的拉请求数112
关闭的拉请求数1603
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?