Тёмный

What is a UUID? UUID vs. GUID 

Eye on Tech
Подписаться 97 тыс.
Просмотров 45 тыс.
50% 1

A Universal Unique Identifier, or UUID, is a 128-bit value used to uniquely identify almost anything imaginable on the internet -- from databases, to system instances, to anything else. A UUID is almost guaranteed to be unique from any other UUID now and until forever -- well, until at least the year 3400. Most UUIDs used today are Variant 1 UUIDs.
🔎 Read more:
What is a UUID ➡️ searchapparchitecture.techtar...
How to use VM clone feature ➡️ searchvmware.techtarget.com/t...
------------------------------------------------------------------------------
🔔Subscribe to Eye on Tech: / @eyeontech
------------------------------------------------------------------------------
Follow Eye on Tech:
Twitter/X: / eyeontech_tt
LinkedIn: / eyeontech
TikTok: / eyeontech
Instagram: / eyeontech_tt
#UUID #GUID #EyeOnTech

Наука

Опубликовано:

 

21 ноя 2021

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 33   
@iamnoob7593
@iamnoob7593 Год назад
UUID V4 --> generates random UUID 128 bit based on some algo , chances pf collision is less , given the permutations. so if there are 5000 records in a table lets say uuid column is primary key and index , then we need to do fast search(index) using the column for duplicate and if no duplication allow .Math.pow(2,128) uuid can be generated .
@Passionate747
@Passionate747 2 года назад
The best video ❤it.
@lukasztomaszek
@lukasztomaszek 2 года назад
1:25 Hexadecimal? I see that there are letters in the example outside the hexadecimal range.
@muhamadhafiz862
@muhamadhafiz862 5 месяцев назад
yeah each character define 4 bits
@lukasztomaszek
@lukasztomaszek 5 месяцев назад
​@@muhamadhafiz862I mean that in hexadecimal there's no other letter than from a to f. But in the example... even the first character is "s"
@muhamadhafiz862
@muhamadhafiz862 5 месяцев назад
@@lukasztomaszek sorry bro, i misunderstood, yeah the video is wrong, it should only contain hexadecimal
@JeremyTBradshaw
@JeremyTBradshaw Месяц назад
My OCD spiked too.
@MuhanndAlnjjar
@MuhanndAlnjjar 4 месяца назад
thanks for this simple explanation
@EyeonTech
@EyeonTech 4 месяца назад
You are welcome!
@pm71241
@pm71241 2 года назад
TimeUUIDs have examples of applications where collisions are not negligible
@ramens
@ramens Год назад
Thanks for the video, just one question. Is there any way to discern the date and time using a UUID?
@keshavejat
@keshavejat 11 месяцев назад
Nope, ULID can be used for such use cases and it is lexicographical ordered.
@PanduPoluan
@PanduPoluan 9 дней назад
Depends on which version of UUID you're using. UUID versions 1, 6, and 7 have timestamps encoded in them.
@PanduPoluan
@PanduPoluan Год назад
1:27 my eyes are twitching... THOSE ARE NOT HEXADECIMAL DIGITS
@lordcheezus1
@lordcheezus1 9 дней назад
i misunderstood at first what you were saying. Correct, there are letters such as g, h, y, in the string presented that are not real hex values.
@thotarojoestar3045
@thotarojoestar3045 2 года назад
What happens if a collision occurs though
@libbeytds
@libbeytds Год назад
The universe implodes
@sansparamore
@sansparamore 2 года назад
Thanks for this explanation. I prefer UUID v4 because of the anonimity.
@EyeonTech
@EyeonTech 2 года назад
Thanks for sharing!
@PanduPoluan
@PanduPoluan 9 дней назад
Why not use version 7?
@Professor_Bugs
@Professor_Bugs Год назад
cant wait for y3.4k assuming we live that long
@mohammedasharudeen520
@mohammedasharudeen520 2 года назад
i am genrate UUID using python with following syntax "subprocess.check_output('wmic csproduct get uuid').decode().split(' ')[1].strip()". It generated like "C50A0704-1C0B-FE5B-B792-D017C2D25XXX" . Please explain me how this combination generated and also it is unique? How it is generate automatically ?
@PanduPoluan
@PanduPoluan 9 дней назад
Why do you not just use Python's built-in UUID library?
@adsboosters
@adsboosters 2 года назад
If i share my pc system uuid(Wmic csproduct get uuid) then my pc can be hack?
@codewithclarks-en4718
@codewithclarks-en4718 2 года назад
Use V4 , it will provide you with the much needed anonymity , that's a pro . Of course , the con is the probability of collisions happening , but , one way of mitigating this , is on server side , whenever we generate a uuid we just search an array containing all uuid generated , and we filter() or some() to do basic checking if it exists then we can push it in the array then send it to the client . Which is a good approach but will be costly in time n space , so we can use instead a Set() and each time we generate a uuid before we push it directly , we just check the set length , then we add() the uuid to the set , then recheck the length , if it's same to previous , it means the uuid exists , that means we need to regenerate it , if the length is +1 , it means it's not taken and we can safely use our V4 uuid without even worrying about collisions , this second technique will result in better performance , and better big O .
@mohammedasharudeen520
@mohammedasharudeen520 2 года назад
i am genrate UUID using python with following syntax "subprocess.check_output('wmic csproduct get uuid').decode().split(' ')[1].strip()". It generated like "C50A0704-1C0B-FE5B-B792-D017C2D25XXX" . Please explain me how this combination generated and also it is unique? How it is generate automatically ?
@EyeonTech
@EyeonTech 2 года назад
Thanks for sharing!!
@PanduPoluan
@PanduPoluan Год назад
Searching a set is O(1) so you don't actually waste much time. But yeah, when you added a new member to a set, behind the scenes the runtime already performed a search and getting the length is indeed a bit quicker than searching a set.
@bicunisa
@bicunisa Год назад
You say there are variant 0 through 2, then proceed to explain version 4. What gives?
@EyeonTech
@EyeonTech Год назад
Good question! Variants are different than versions. Variant 1 UUID has 5 versions. We explain versions 1 and 4 as examples of the most common versions used. Read more about it here: www.techtarget.com/searchapparchitecture/definition/UUID-Universal-Unique-Identifier?UUID&UUID&Offer=OTHR-youtube_OTHR-video_OTHR-UUID_2021Nov22_UUID
@syedhannan546
@syedhannan546 Год назад
v4
@EyeonTech
@EyeonTech Год назад
Thanks for sharing!
@epsoteps980
@epsoteps980 4 месяца назад
The authors of the video don't know what they're talking about.
Далее
Web Server Concepts and Examples
19:40
Просмотров 237 тыс.
🤡Украли У ВСЕХ🤪
00:37
Просмотров 222 тыс.
HTTPS, SSL, TLS & Certificate Authority Explained
43:29
GUIDs and UUIDs are cool, but this is cooler
15:55
Просмотров 178 тыс.
The Problem With UUIDs
6:36
Просмотров 71 тыс.
What Is GraphQL? REST vs. GraphQL
5:15
Просмотров 386 тыс.
Life After SQL (EdgeDB Is Fascinating)
15:40
Просмотров 56 тыс.
Tech Talk: What is Public Key Infrastructure (PKI)?
9:22
Network Time Protocol (NTP) - Computerphile
10:41
Просмотров 179 тыс.
Difference between cookies, session and tokens
11:53
Просмотров 610 тыс.
API vs. SDK: What's the difference?
9:21
Просмотров 1,4 млн
iPhone socket cleaning #Fixit
0:30
Просмотров 18 млн
iPhone socket cleaning #Fixit
0:30
Просмотров 18 млн