Eric Hodel (drbrain) wrote,
Eric Hodel
drbrain

  • Mood:

Class in session

Eric Richardson, who works on CMS, has this unnatural fear that a UUID (or GUID for you MicroSofties) may collide with a GUID generated on another machine.

I care about GUID consistency. Nobody should be putting images directly into the Resource Gallery in Production. Those have to be migrated, whether or not they are used only in Production. Here is why. If some things go into Test and are migrated, and other things go just into Prod, there is a chance that the GUID will end up being the same for an item already in Prod and one getting migrated.

I hate having to educate people, especially since they are so wrong. To save you the trouble of sifting through the draft, here's the short of it:

UUIDs are generated from a very precise (100ns) timestamp and the node id. If you don't have an accurate clock, you use a "name" which is supposed to be as broad as possible, including DNS addresses, machine name, etc.

Subscribe

  • Softball, naps, vehicle, blood center

    This weekend was pretty awesome, and the week has started out pretty awesome too. Saturday I drove out to my parents' place and picked up the title…

  • (no subject)

    Friday I drove Utah 128 to I-70 which is far superior to US 191. Utah 128 winds through the bottom of the thousand foot deep canyon the Colorado…

  • (no subject)

    I crossed the Montlake Bridge on my way back from Burgers and Wii at Ajay's place, and a Ford Explorer was parked across the sidewalk with its front…

  • Post a new comment

    Error

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 2 comments