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

curve/common: optimize leaky bucket algorithm #1045

Merged
merged 1 commit into from
Jan 25, 2022

Conversation

wuhongsong
Copy link
Contributor

What problem does this PR solve?

Issue Number: close #1013

@wuhongsong
Copy link
Contributor Author

recheck

@wuhongsong
Copy link
Contributor Author

wuhongsong commented Jan 21, 2022

the phenomenon is at #1013

after the optimize, then you can see the effectiveness below:
config:
diskCache.avgFlushBytes=83886080
diskCache.burstFlushBytes=104857600
diskCache.burstSecs=5
ready

@wuhongsong
Copy link
Contributor Author

recheck

@wuhongsong
Copy link
Contributor Author

recheck

@wuhongsong wuhongsong force-pushed the optimize_leak_bucket branch from b20a0b2 to 84cf00b Compare January 24, 2022 06:37
@wuhongsong
Copy link
Contributor Author

recheck

@wuhongsong wuhongsong force-pushed the optimize_leak_bucket branch from 84cf00b to 5f66f5b Compare January 24, 2022 11:00
@wuhongsong wuhongsong merged commit f85a813 into opencurve:master Jan 25, 2022
@wuhongsong wuhongsong deleted the optimize_leak_bucket branch January 25, 2022 02:03
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

Successfully merging this pull request may close these issues.

optimize leaky bucket algorithm
3 participants