Documentation 📑 Hands-on Tutorials 🎯 RisingWave Cloud 🚀 Get Instant Help
RisingWave is a distributed SQL streaming database that enables cost-efficient and reliable processing of streaming data.
Docker
docker run -it --pull=always -p 4566:4566 -p 5691:5691 risingwavelabs/risingwave:latest playground
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
Now connect to RisingWave using psql
:
psql -h localhost -p 4566 -d dev -U root
Learn more at Quick Start.
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.
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).
- 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.
- 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 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.
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.
Looking for help, discussions, collaboration opportunities, or a casual afternoon chat with our fellow engineers and community members? Join our Slack workspace!
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.
RisingWave is distributed under the Apache License (Version 2.0). Please refer to LICENSE for more information.
Thanks for your interest in contributing to the project! Please refer to contribution guidelines for more information.