The Truth (Our Machinery Data Model)

Created on 2023-02-08T08:38:24-06:00

Return to the Index

This card can also be read via Gemini.

Data model for the Our Machinery engine.

Explicit read, write, and commit verbs exist to facilitate pulling objects out or writing them to new data to be committed to the system.

Heirarchial storage

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.

Threading

Give each thread its own superblock to work with. This stops threads from having write contention over object IDs for the most part.