Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
pbronez
1y ago
0 comments
Share
The scary thing to me about that setup is how the global value is updated. Every individual script must successfully increment the value to avoid duplicate keys.
Really hope they had a “get key” stored procedure to handle that.
0 comments
default
newest
oldest
SoftTalker
1y ago
It's possible they had some requirement for gapless ID numbers. You can't do that with a sequence.
j
/
k
navigate · click thread line to collapse