A production-grade Rust backend that streams live Solana Ore mining data in real time.
Built to learn and demonstrate: async Rust, real-time data pipelines, REST + WebSocket APIs, Docker, and Kubernetes.
Connects to the Solana Ore mining program via Arete, processes typed on-chain events, and serves them through a REST API and live WebSocket feed — backed by Postgres (historical storage) and Redis (hot cache + pub/sub).
| Layer | Technology |
|---|---|
| Language | Rust (async, Tokio) |
| HTTP / WebSocket | Axum 0.8 |
| Solana streaming | Arete |
| Database | PostgreSQL + SQLx |
| Cache | Redis |
| Observability | Prometheus + tracing |
| DevOps | Docker Compose + Kubernetes |
Solana (Ore Program)
└─> Arete (typed stream)
├─> Redis (hot cache + pub/sub)
└─> Postgres (historical data)
└─> Axum (REST + WebSocket)
└─> Clients
- Spike — prove the stream (Arete events printing to stdout)
- Core API — Axum server,
/api/rounds/current,/ws/live - Data Layer — Postgres + Redis
- Workers — background aggregation
- Docker — multi-stage build + Compose
- Kubernetes — full manifest set
- Polish — CI, Prometheus, README, live demo
docker compose upActive development.