Created: 2023-02-08T08:38:24-06:00
Data model for the Our Machinery engine.
The Story behind The Truth: Designing a Data Model
Explicit read, write, and commit verbs exist to facilitate pulling objects out or writing them to new data to be committed to the system.
Root -> super blocks -> blocks.
Allows fixed size arrays to be used to back object IDs but allocated in banks when needed. Heirarchy can be adjusted based on profiling to what the game needs.
Write-locks used when allocating a new ID to issue an object to.
Give each thread its own superblock to work with. This stops threads from having write contention over object IDs for the most part.