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

Cache write commands on leader side for applying #16937

Open
Connor1996 opened this issue Apr 30, 2024 · 0 comments
Open

Cache write commands on leader side for applying #16937

Connor1996 opened this issue Apr 30, 2024 · 0 comments
Labels
type/enhancement Type: Issue - Enhancement

Comments

@Connor1996
Copy link
Member

Development Task

On the leader side, it would serialize write commands into the raft entry when proposing, and deserialize back to the write commands when applying.

So we can cache the write commands for a while on leader side and utilize that directly in applying. It could reduce the CPU usage and latency a little in apply worker.

@Connor1996 Connor1996 added the type/enhancement Type: Issue - Enhancement label Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement Type: Issue - Enhancement
Projects
None yet
Development

No branches or pull requests

1 participant