hadron icon indicating copy to clipboard operation
hadron copied to clipboard

Transactional Graph

Open thedodd opened this issue 4 years ago • 0 comments

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).

thedodd avatar Oct 15 '21 00:10 thedodd