| ▲ | jefecoon 7 hours ago | |
Great article. I assume I'm oblivious and naive, but it seems theoretically possible these issues could -- theoretically -- result in TOCTOU or similar issues. Any thoughts about relying on: - central time service, with message-queue of inbound requests, resulting in correctly timed + sequenced events [ albeit with hopefully small lag tradeoffs ]? - know of any databases that implement this type of logic around their own minting of time-stamped UUIDs? Prior efforts implementing event-driven backend service with UUID7s minted in client-code seemed perfectly fine at low usage/scale. However, as clients + usage + event-volume scaled, team became more curious about time/timestamp/related issues, and any minting client-side quickly fell out of favor. Any insights greatly appreciated -- thanks [ edited b/c i don't know how to format... ] | ||
| ▲ | awesome_dude 5 hours ago | parent [-] | |
See: NTP, Lamport and Vector clocks. Spanner (Google) does make a good job of using atomic clocks, but it takes a hang of a lot of money. | ||