A React-based calculator for estimating storage requirements in Ceph clusters.
⚠️ Beware: AI spaghetti code
- Multiple configuration modes:
- Erasure Coding (EC) configuration
- Replication configuration
- Mixed storage configuration
- Server hardware specifications
- Real-time calculation results
- Exportable configuration presets
- Responsive UI with Tailwind CSS
- Node.js (v18+)
- npm (v9+)
- Docker (optional)
npm install
npm run dev# Development
docker-compose -f compose-development.yaml up
# Production
docker-compose up- Select your configuration type from the sidebar
- Adjust parameters using the input fields
- View real-time results in the calculation table
- Save/load configurations using the preset manager
The calculator supports several configuration types:
Configure erasure coding K+M parameters
Set replication factors and failure domains
Combine different storage tiers with custom ratios
This project uses:
- Vite for bundling
- Tailwind CSS for styling
- PostCSS for CSS processing
# Start dev server
npm run dev
# Build for production
npm run build
# Preview production build
npm run previewMIT License - see LICENSE for details