What Cubature does
Cubature owns the infrastructure of cubic worlds: scheduling, lighting, the lifetime of each cube, storage, and delivery to clients. It is developed alongside Riven, which supplies the terrain and the biomes.
The delivery scheduler
A world generator whose cubes are a pure function of seed and coordinates can declare concurrent generation. Cubature then generates its cubes on worker threads and installs them on the server thread, within three limits a server can change.
- 1–4 workers generate cubes and prepare columns, off the server thread
- 1,024 cubes at most, in flight or finished and waiting
- 20 ms a tick for the server thread to install what is ready
License and upstream
- License
- MIT
- Asynchronous I/O
- LGPL-2.1, derived from Forge
- Upstream
- CubicChunks, by OpenCubicChunks and its contributors
- Credits
- NOTICE.md