baidu / baidu/uid-generator

这个吞吐量怎么算出来的?

Open
#87 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
5.6k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

seq 9位 每秒是512-1,workId 20位1048576-1,假设10个服务,每天重启4次,每秒生产id的速度是5120吧。这个600万条怎么生成的

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the repository's UID-generation documentation or entry point; the issue names no file or test. Reconcile the stated 9-bit sequence, 20-bit worker ID, service count, restart assumptions, and claimed six million IDs, then document the calculation or clarify the missing premise.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.