唯一ID生成服务器 UKG

码农软件 · 软件分类 · 其他开发相关 · 2019-10-23 12:59:25

软件介绍

UKG (Unique Key Generate Server) 是一个唯一ID生成服务器, 其根据Twitter的snowflake算法写成, 性能非常高, 稳定性非常好(在我们的服务器上跑了非常长的时间). 而且协议非常简单(使用方法可以参考test.php)。

启动项:

Options:
    -w, --worker        worker ID
    -d, --datacenter    datacenter ID
    -p, --port          port number
    -D, --daemon        run at daemon mode
  • -w是指定工作ID, 可以将工作ID想象成线程ID或者进程ID.
  • -d是指定数据中心ID, 可以将数据中心ID想象成组ID.

工作ID和数据中心ID组成一个唯一的机器或者服务器进程.

本文地址:https://codercto.com/soft/d/17384.html

Probability and Computing

Probability and Computing

Michael Mitzenmacher、Eli Upfal / Cambridge University Press / 2005-01-31 / USD 66.00

Assuming only an elementary background in discrete mathematics, this textbook is an excellent introduction to the probabilistic techniques and paradigms used in the development of probabilistic algori......一起来看看 《Probability and Computing》 这本书的介绍吧!

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

SHA 加密
SHA 加密

SHA 加密工具

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具