baidu / baidu/uid-generator

设计不合理

Open
#42 2 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

![image](https://user-images.githubusercontent.com/13905540/65312470-222e2300-dbc5-11e9-95fe-e48ce8873dc4.png)
使用的是固定大小线程池,可是给线程池提交的任务的时候又特意控制并发,转为单线程。
![image](https://user-images.githubusercontent.com/13905540/65312567-5f92b080-dbc5-11e9-92cd-f610a689276c.png)
我觉得没必要这样设置,直接使用一个线程就行了,或者不要控制并发,提高生成速度。

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no files, tests, or entry points and provides only screenshots. Locate the fixed-size thread pool and the concurrency limit described in the report, then compare the one-thread and less-restricted configurations. Done should mean that the chosen concurrency design is implemented and generation performance is measured.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend, performance
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.