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

Research performance and optimization #15

Open
nabeken opened this issue Nov 14, 2014 · 0 comments
Open

Research performance and optimization #15

nabeken opened this issue Nov 14, 2014 · 0 comments

Comments

@nabeken
Copy link
Owner

nabeken commented Nov 14, 2014

We introduced delayd-bench tool.

I expect single node should handle at least 1000 msg/s because etcd establishes this throughput with raft.

raft requires many IOPS to handle transactions. Thus we perform tests on tmpfs and SSD-backed instance store for /tmp and /var/lib/docker for observing how a type of storage affects a result.

How to perform

$ fig up rabbitmq
$ delayd-bench -c delayd.toml -n 10000 -d 0

Just a quick note on c3.large

on SSD-backed instance-store with RAID0:

[INFO] delayd: sent 10000 messages for 1.186010864s, 8431.625969 msg/s
[INFO] delayd: processed 10000 messages for 16.03823705s, 623.509926 msg/s
[INFO] delayd: total: processed 10000 messages for 17.224247914s, 580.576873 msg/s

on tmpfs:

[INFO] delayd: sent 10000 messages for 1.338507415s, 7471.008295 msg/s
[INFO] delayd: processed 10000 messages for 5.73211508s, 1744.556740 msg/s
[INFO] delayd: total: processed 10000 messages for 7.070622495s, 1414.302631 msg/s

The performance on SSD-backed is not acceptable to us.

on Digital Ocean:

[INFO] delayd: sent 10000 messages for 1.53663287s, 6507.735319 msg/s
[INFO] delayd: processed 10000 messages for 23.643386653s, 422.951253 msg/s
[INFO] delayd: total: processed 10000 messages for 25.180019523s, 397.140280 msg/s

(on tmpfs)
[INFO] delayd: sent 10000 messages for 1.571370519s, 6363.871461 msg/s
[INFO] delayd: processed 10000 messages for 11.594584881s, 862.471585 msg/s
[INFO] delayd: total: processed 10000 messages for 13.1659554s, 759.534701 msg/s

okay, we need something different data store for raft log storage in the future.

@nabeken nabeken changed the title Add benchmark Add benchmark tools Nov 14, 2014
@nabeken nabeken self-assigned this Dec 4, 2014
@nabeken nabeken changed the title Add benchmark tools Research performance and optimization Dec 6, 2014
@nabeken nabeken removed their assignment Dec 9, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant