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

raftstore: flush leader message ASAP #2345

Merged
merged 4 commits into from Sep 28, 2017

Conversation

Projects
None yet
3 participants
@siddontang
Contributor

siddontang commented Sep 27, 2017

We should let the leader send message ASAP. Using 100% write YCSB test ycsb -concurrency 200 -workload=F -duration=10m, I see that the write performance improve a little.

The QPS is:

no sync sync
master 32041.7 24759.2
Flush 32308.4 25089.6

I have done many YCSB tests and get the same results, so I think the performance can be improved a little.

PTAL @BusyJay @zhangjinpeng1987

@BusyJay

This comment has been minimized.

Show comment
Hide comment
@BusyJay

BusyJay Sep 27, 2017

Contributor

LGTM

Contributor

BusyJay commented Sep 27, 2017

LGTM

@zhangjinpeng1987

This comment has been minimized.

Show comment
Hide comment
@zhangjinpeng1987
Member

zhangjinpeng1987 commented Sep 27, 2017

LGTM

@siddontang

This comment has been minimized.

Show comment
Hide comment
@siddontang

siddontang Sep 27, 2017

Contributor

/run-integration-test

Contributor

siddontang commented Sep 27, 2017

/run-integration-test

@siddontang siddontang merged commit 7520ada into master Sep 28, 2017

5 checks passed

ci/circleci Your tests passed on CircleCI!
Details
jenkins-ci-tikv/build Jenkins job succeeded.
Details
jenkins-ci-tikv/integration-common-test Jenkins job succeeded.
Details
jenkins-ci-tikv/integration-ddl-test Jenkins job succeeded.
Details
license/cla Contributor License Agreement is signed.
Details

@siddontang siddontang deleted the siddontang/flush-msg branch Sep 28, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment