Files
pg/cmd/pg-lockless-fifo-demo
Bel LaPointe 39bd53b7f1 to gitea/with
2026-03-09 09:45:18 -06:00
..
2026-03-09 09:45:18 -06:00
2025-12-11 10:00:25 -07:00

https://trychroma.com/engineering/wal3

(generally with S3 but this is fine)

  1. GET (current_node, cksum) FROM head_pointer
  2. INSERT node (previous_node) VALUES (head_pointer) RETURNING node.id
  3. UPDATE head_pointer (current_node, cksum) VALUES (node.id, blockchain) IF head_pointer.cksum=cksum