fdb-record-layer icon indicating copy to clipboard operation
fdb-record-layer copied to clipboard

Use lower-entropy random UUIDs

Open alecgrieser opened this issue 1 year ago • 0 comments

The Java function UUID.randomUUID uses a cryptographically secure random number generator. This can lead to performance bottlenecks for highly concurrent use cases, as there is a lock around the random number generator. However, for effectively all of our random UUIDs (with maybe one exception, in the R-tree), we don't really need secure randomness, and so the lock maintenance is wasted effort.

alecgrieser avatar Nov 14 '23 14:11 alecgrieser