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

feat: redis-writer add buffered sending to significantly improve speed #886

Open
wants to merge 1 commit into
base: v4
Choose a base branch
from

Conversation

EquentR
Copy link
Contributor

@EquentR EquentR commented Nov 22, 2024

新增了Redis-Writer 缓冲区延迟写入功能,可大增几倍不止的写入速度。原写入方式由于在buffio中频繁flush导致syscall过多,延迟暴增。issue:#878

未加入延迟flush:
image

加入延迟flush后:
image

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.

1 participant