4 ms·
> No problem, zero chance of record collisions no matter what happens in the future. Well until 5236-03-31 21:21:00 UTC (assuming my calculations are correct)
by mnarayan01 12y ago
> No problem, zero chance of record collisions no matter what happens in the future.
Well until 5236-03-31 21:21:00 UTC (assuming my calculations are correct) using v1 UUIDs and assuming unique MAC addresses and no race conditions.
- ed0 12y agoOnly until 5236?? We definitely need a better solution.
- wahern 12y agoAssuming unique MAC addresses is a very poor assumption. At one company I worked at we once received a huge shipment of ethernet cards (several thousand) that all had the same MAC address. We didn't realize it until customers who had purchased multiple pieces of equipment began to call in. I've heard several similar anecdotes from other engineers at other companies. Yeah, very bad assumption.
- thethimble 12y agoA lot of platforms (iOS) also spoof MAC addresses too
- yohanatan 12y agoThe spoofing happens when talking to other devices (not themselves); i.e., there is some layer of the device that knows its true MAC address and the UUID generation code should use that layer.
- ghuntley 12y agoCan confirm that this is a bad idea as manfuarcturing defects do happen. Took a shipment of brand new NetApp toasters this year and they all had the same WWN/WWPN's! Needless to say NetApp where quite embarrassed and we are glad that we noticed it in pre-prod otherwise it could have been quite bad.