The State Store in RisingWave is a crucial internal component responsible for persistently managing and providing access to the state required for all stateful stream processing operations. This includes the intermediate results of aggregations, the data held for joins between streams, the current values in materialized views, and other internal states needed for continuous query execution and fault tolerance.
RisingWave's State Store is uniquely designed to be cloud-native, scalable, and resilient, primarily leveraging the Hummock storage engine.
The State Store in RisingWave is primarily embodied by Hummock, its purpose-built distributed Log-Structured Merge-tree (LSM-tree) based storage engine:
In essence, the State Store, powered by Hummock, is the backbone of RisingWave's ability to perform complex, stateful stream processing reliably and at scale in a cloud environment.