Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Master] Delaying goroutine creation of Statistic #678

Closed
wenfengwang opened this issue Jun 8, 2021 · 0 comments
Closed

[Master] Delaying goroutine creation of Statistic #678

wenfengwang opened this issue Jun 8, 2021 · 0 comments

Comments

@wenfengwang
Copy link
Member

FEATURE REQUEST

  1. Please describe the feature you are requesting.
    Delaying goroutine creation of Statistic

  2. Provide any additional detail on your proposed use case for this feature.
    in the current version, the statistics.newStatsItemSet() will call init() method to create all scheduled tasks, total will create 30 goroutines. for one project that just imports the go SDK, but not create a consumer instance immediately, it is a heavy cost

  3. Indicate the importance of this issue to you (blocker, must-have, should-have, nice-to-have). Are you currently using any workarounds to address this issue?

should-have

  1. If there are some sub-tasks using -[] for each subtask and create a corresponding issue to map to the sub task:
    none
duhenglucky added a commit that referenced this issue Jun 8, 2021
[ISSUE #678] optimizing goroutine of Stat creation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants