Toolset for diagnosing RisingWave clusters.
This tool provides a web-based interface to analyze RisingWave await-tree dumps (in text or JSON format).
- Functionality: Identifies potential performance bottlenecks in actors based on:
- Slow Parent / Fast Children: Detects spans that are significantly slower than their children.
- IO Bound Spans: Detects slow spans related to storage I/O operations (
store_*
,fetch_block
).
- Technology: Built with React, TypeScript, and Rust compiled to WebAssembly (WASM), allowing analysis directly in the browser.
- Deployment: Hosted as a static web page on GitHub Pages.
To run the web-based analyzer locally:
-
Prerequisites:
- Install Rust: https://www.rust-lang.org/tools/install
- Install
wasm-pack
:curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
- Install Node.js (which includes npm): https://nodejs.org/ (Version 18+ recommended)
-
Install Dependencies: Navigate to the
web/
directory and install Node.js dependencies:cd web npm install cd ..
-
Run Development Server: From the
web/
directory, start the Vite development server:cd web npm run dev
This command will first build the WASM package (
public/pkg
) and then start the Vite server (usually onhttp://localhost:5173
). Open the provided URL in your browser. -
Usage: Use the file input on the page to upload your await-tree dump file. The analysis results will be displayed below.
To create a production build (static files):
- Navigate to the
web/
directory. - Run the build command:
This will build the WASM package and then build the React application into the
cd web npm run build
web/dist
directory. These are the files deployed by the GitHub Actions workflow.