dcache

command module
v0.0.0-...-83af506 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 24, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

README

dcache

dcache 是一个高性能的存储服务器,致力于分布式,每个 key 只会存在于一台dcache中,

2019.8.10 添加多路复用单链接性能提升三倍 2019.8.15 添加限制最大连接数

分布式群集完成,待测试

压力测试

在开启debug日志的时候性能会大幅度降低,生产环境禁止开启

2C 2G的服务器2台 一台当做 client ,一台做 server

tcp 协议 开启多路复用
set
./client -h=10.10.175.145:7777  -c=256 -n=200000
2.463920 seconds total
rps is 81171.467496
throughput is 81.171467 MB/s

get
./client -h=10.10.175.145:7777  -c=256 -n=200000 -t=get
2.568034 seconds total
rps is 77880.592175
throughput is 77.880592 MB/s
quic 协议
set
[./quic_client -h=10.10.129.16:7777  -s=128 -c=32 -n=200000
5.701770 seconds total
rps is 35076.828478
throughput is 35.076828 MB/s
get
./quic_client -h=10.10.129.16:7777  -s=128 -c=64 -n=200000 -t=get
6.962162 seconds total
rps is 28726.710080
throughput is 28.726710 MB/s

Documentation

Overview

Copyright © 2019 carlo

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Directories

Path Synopsis
mux
bit
plugin
tcp

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL