Interactive number computation demo with parallel processing
Computes large sets of random numbers asynchronously and displays the results with a dynamic progress bar.
Utilizes parallel processing to handle millions of numbers efficiently.
| Path | Method | Description |
|---|---|---|
/ |
GET |
Main page with buttons to start computation and progress |
/compute |
GET |
Returns the computation result for a specified number of random numbers |
Query parameter for /compute:
size– Number of random numbers to generate and process (default: 10,000,000)
- Dynamic computation of large number sets with a progress bar
- Parallel processing using Rayon for faster computation
- Interactive front-end using Tailwind CSS
- Fully asynchronous backend with Axum and Tokio
- Customizable computation size via query parameters
- Simple, responsive, and user-friendly UI
- Rust 1.91.1 – systems programming language
- Axum 0.7 – lightweight web framework for Rust
- Tokio 1 – asynchronous runtime for Rust
- Rayon 1.10 – data parallelism library for high-performance computation
- Tailwind CSS – utility-first responsive UI framework
- Render.com – zero-config deployment for Rust web apps