|
|
|
|
|
by Joel_Mckay
304 days ago
|
|
Most just pack down: epoch time + MAC Address + transaction counter (catch NTP skew) + Thread PID + new Pointer address = GUID Then increment global transaction counter, complete some ops, and check to ensure current epoch time is in the future before the transaction frees the memory locations. This is often robust in highly concurrent distributed systems even under network degradation, or corrupted sync states. Has other interesting use-cases too. =3 |
|