GitHub user redbaron opened a pull request: https://github.com/apache/kafka/pull/43
Finer locking in log append This patch adds finer locking when appending to log. It breaks global append lock into 2 sequential and 1 parallel phase. Basic idea is to allow every thread to "reserve" offsets in non overlapping ranges, then do compression in parallel and then "commit" write to log in the same order offsets where reserved. You can merge this pull request into a Git repository by running: $ git pull https://github.com/redbaron/kafka finer-lock-in-log-append Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/43.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #43 ---- commit e1e4cf6685e3b5ca7900635a11a8a0be80a569a5 Author: Maxim Ivanov <ivanov.ma...@gmail.com> Date: 2015-02-08T18:41:06Z Finer locking in log append This patch adds finer locking when appending to log. It breaks global append lock into 2 sequential and 1 parallel phase. Basic idea is to allow every thread to "reserve" offsets in non overlapping ranges, then do compression in parallel and then "commit" write to log in the same order offsets where reserved. ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---