lockless-fifo accepts sqlite
This commit is contained in:
7
cmd/pg-lockless-fifo-demo/README.md
Normal file
7
cmd/pg-lockless-fifo-demo/README.md
Normal file
@@ -0,0 +1,7 @@
|
||||
https://trychroma.com/engineering/wal3
|
||||
|
||||
(generally with S3 but this is fine)
|
||||
|
||||
1. GET (current_node, cksum) FROM head_pointer
|
||||
1. INSERT node (previous_node) VALUES (head_pointer) RETURNING node.id
|
||||
1. UPDATE head_pointer (current_node, cksum) VALUES (node.id, blockchain) IF head_pointer.cksum=cksum
|
||||
Reference in New Issue
Block a user