Description
Currently UUID.randomUUID is called in various places in the code base.
- It is non-deterministic.
- It uses a single secure random for UUID generation. This uses a single JVM wide lock, and this can lead to lock contention and other performance problems.
We should move to something that is deterministic by using seeded PRNGs
new UUID(ThreadLocalRandom.current().nextLong(), ThreadLocalRandom.current().nextLong())
Attachments
Issue Links
- links to