lmsreborn / message-queue-cpp

Blink`团队 (https://github.com/WANG-lp and https://github.com/CheYulin ), 1-million message-queue in c++ (使用intrinsics编写向量化代码),第四届阿里中间件复赛代码,线上成绩2.69M+,排名第1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Disclaimer

此项目仅供学习与交流使用,请遵循MIT协议,如果您在任何项目中使用相关代码,请保留此项目的LICENSE文件。

message-queue

1-million message-queue in c++ (使用intrinsics编写向量化代码) --- Created By Blink`团队 (Pisces and yche)。

本地构建代码

mkdir -p build && cd build
cmake .. -Dtest=ON -DenableLOG=ON -DenableWall=ON -DCMAKE_INSTALL_PREFIX=/alidata1/race2018/work   
make -j && make install

本仓库的文件

文件夹/文件 说明
include 动态链接库export出来时候的头文件
src 源代码文件
cmake, CMakeLists.txt 项目构建文件

最高跑分统计数据

[2018-07-11 23:49:55,890] Send: 478408 ms Num: 2000000009
[2018-07-11 23:49:55,890] Put message per second: 4180532.12
[2018-07-11 23:51:55,199] Index Check: 107483 ms Num:1000010
[2018-07-11 23:55:46,916] phase3 start
[2018-07-11 23:55:46,916] Check: 231732 ms Num: 200000000
[2018-07-11 23:55:46,916] Tps: 2691946.44

About

Blink`团队 (https://github.com/WANG-lp and https://github.com/CheYulin ), 1-million message-queue in c++ (使用intrinsics编写向量化代码),第四届阿里中间件复赛代码,线上成绩2.69M+,排名第1

License:MIT License


Languages

Language:C 39.4%Language:C++ 38.7%Language:CMake 22.0%