/serial-uuid-generator

Service for generating serial unique identifiers in UUID format. Can be used for systems with data shared across multiple databases.

Primary LanguageGoMIT LicenseMIT

Serial UUID generator

Service for generating serial unique identifiers in UUID format. Can be used for systems with data shared across multiple databases.

How to use

Build from source

Build and run go application. Setup connection to PostgreSQL database via environment variable UUIDGEN_DATABASE_URL.

dep ensure
go build
export UUIDGEN_DATABASE_URL=postgres://user:password@localhost/generator?sslmode=disable
./serial-uuid-generator

Roadmap

  • storing sequence in PostgreSQL
  • generating sequential part by database sequence
  • request parameters validation
  • load config from environment
  • logging
  • database connection check on startup
  • automatic table creation on startup
  • statistics
  • docker build in ci
  • concurrency testing
  • load testing
  • quality and coverage badges