Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/m-lab/uuid
A system for allowing sockets to be universally and uniquely identified in M-Lab data.
https://github.com/m-lab/uuid
Last synced: about 1 month ago
JSON representation
A system for allowing sockets to be universally and uniquely identified in M-Lab data.
- Host: GitHub
- URL: https://github.com/m-lab/uuid
- Owner: m-lab
- License: apache-2.0
- Created: 2019-03-19T15:09:55.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2024-06-10T22:30:32.000Z (7 months ago)
- Last Synced: 2024-10-29T13:43:41.250Z (about 2 months ago)
- Language: Go
- Size: 50.8 KB
- Stars: 2
- Watchers: 14
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Socket UUIDs for the M-Lab platform
[![Travis Build Status](https://travis-ci.org/m-lab/uuid.svg?branch=master)](https://travis-ci.org/m-lab/uuid) [![Coverage Status](https://coveralls.io/repos/m-lab/uuid/badge.svg?branch=master)](https://coveralls.io/github/m-lab/uuid?branch=master) [![GoDoc](https://godoc.org/github.com/m-lab/uuid?status.svg)](https://godoc.org/github.com/m-lab/uuid) [![Go Report Card](https://goreportcard.com/badge/github.com/m-lab/uuid)](https://goreportcard.com/report/github.com/m-lab/uuid)
This allows us to generate a globally unique ID for any TCP socket. When we
say globally, we really mean globally - it should be impossible to have two
machines generate the same UUID.The only case the uniqueness of the UUID could be violated is if two machines
have the same hostname and booted up at the exact same second in time, but it is
bad practice to give machines the same hostname (so don't).⚠️: This library is fully supported on Linux systems _only_. Using this
library on non Linux system will compile but most likely will not work
as intended. Use on non Linux systems at your own risk.The design of the UUIDs and this system for creating them can be found in
[`DESIGN.md`](https://github.com/m-lab/uuid/blob/master/DESIGN.md).