FoundationDB's versionstamps should be everywhere
fragno.devΒ·14hΒ·
Discuss: Hacker News
πŸ”ŒSQLite Extensions
Preview
Report Post

In this post I’ll argue that versionstamps are a great primitive, and database systems other than FoundationDB should support them.

Versionstamps enable advanced use cases in distributed systems (including anything with a frontend that needs data from a server), such as optimistic concurrency control and change data capture (CDC).

A versionstamp1 is a value composed of the database’s globally ordered commit version and a user-controlled part. It’s assigned at commit time, thus it reflects the exact order of successful commits across the system.

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚              Database commit version                β”‚  User bytes  β”‚
β”‚                    (10 bytes)   ...

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help