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

Support global workers for commit and append #136

Merged
merged 1 commit into from
Sep 15, 2020
Merged

Commits on Sep 15, 2020

  1. Support global workers for commit and append

    * Each Raft instance creates at least two threads: one for commit
    and the other one for append. If there is a use case that a process
    has many Raft instances, it will produce lots of threads that end
    up with inefficient resource utilization.
    
    * To address this issue, we introduce a global thread pool; there are
    shared worker threads for commit and append, and a global manager
    coordinates requests from multiple Raft instances and assigns them
    to proper worker threads.
    greensky00 committed Sep 15, 2020
    Configuration menu
    Copy the full SHA
    180489b View commit details
    Browse the repository at this point in the history