Catalog can use simple u64 IDs for relations, types, edges &c. Data will be encoded using a simple multi-byte key for efficient storage and scanning.
Edges will be stored as three entries:
Edge object itself, keyed with typeID and edgeID. Value is the object with its properties.
Outbound edge, keyed as typeID, from object's ID, to object's ID and edgeID. Value is empty.
Inbound edge, keyed as typeID, to object's ID, from object's ID and edgeID. Value is empty.
Need to pin down distributed transactional integration with Stream for full end to end transactional processing and actually idempotent event production (never a dup due to retry).
Catalog can use simple u64 IDs for relations, types, edges &c. Data will be encoded using a simple multi-byte key for efficient storage and scanning.
Edges will be stored as three entries:
Need to pin down distributed transactional integration with Stream for full end to end transactional processing and actually idempotent event production (never a dup due to retry).