Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lensvol/dumbflake


https://github.com/lensvol/dumbflake

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

dumbflake
=========

Simple UDP daemon to help with issuing monotonically increasing UID's for
newly registered users.

Workflow
--------
1. Server receives UDP packet with login inside.
2. Server checks if there is a reserved ID for specified login.
2a. If there is a reservation, assign reserved ID and do not modify global counter.
2b. If there is no reservation found, increase global counter and assign increased value.
3. Server replies with UDP packet, structured as follows: ":\n"

Usage
-----

dumbflake -port=19229 -bind=127.0.0.1