The problem with UUIDs … and how to solve it

The problem with UUIDs … and how to solve it

HomeMilan JovanovićThe problem with UUIDs … and how to solve it
The problem with UUIDs … and how to solve it
ChannelPublish DateThumbnail & View CountDownload Video
Channel AvatarPublish Date not found Thumbnail
0 Views
Want to master Clean Architecture? Click here: https://bit.ly/3PupkOJ
Want to unlock Modular Monoliths? Click here: https://bit.ly/3SXlzSt
Join a community of over 1000 .NET developers: https://www.patreon.com/milanjovanovic

In this video, we explain the potential problems with UUIDs, the widely used standard for unique identifiers. We talk about the most common problems, such as database performance and storage issues, and discuss scenarios where UUIDs may not be the best choice.

But I won't leave you with mere problems. We'll explore practical solutions, including ULID and UUID v7, that address some of the drawbacks of traditional UUIDs. I'll show you how to choose the right unique identifier strategy for your specific needs, whether you stick with UUIDs or switch to an alternative. If you work with unique identifiers, this video is a must-watch. It will help you make informed decisions based on a balanced understanding of UUIDs and their alternatives.

[POST] – Should you stop using UUIDs? – June 18, 2024
LN: https://www.linkedin.com/feed/update/urn:li:activity:7208717654029680641/
X: https://x.com/mjovanovictech/status/1802952859085861078

Check out my courses:
https://www.milanjovanovic.tech/courses

Read my blog here:
https://www.milanjovanovic.tech/blog

Subscribe to my weekly .NET newsletter:
https://www.milanjovanovic.tech

Chapter
0:00 What inspired this video?
1:02 UUID
2:31 The problem with UUIDs
4:53 RFC 9562, UUID V7
7:26 AM UTIL
10:05 Benchmarks for inserting into databases
13:28 UUID and index fragmentation
14:54 Benchmarks for database queries

Please take the opportunity to connect with your friends and family and share this video with them if you find it useful.