Alibaba middleware contest 2018, design a message store supports 1 million queues on a single machine
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
centos
example
include
third
.clang-format
.gitignore
.ycm_extra_conf.py
CMakeLists.txt
README.md
build.sh
format-code.sh
queue_store.cc
storage.cc

README.md

Tools and libraries on the target environment

  1. CentOS 6.8
  2. CMake 3.6.1
  3. GCC 4.8.2
  4. Boost 1.67
  5. Libevent 2.0.22
  6. Libz 1.2.3
  7. Snappy 1.1.0
  8. Lzma(xz-devel) 0.5.beta.20091007git.el6
  9. lz4 r131
  10. TBB 2018 Update 5

How to build

####1. Create a build directory

mkdir build
cd build

####2. Build

2.1 Build your shared library only
cmake ..
make
2.2 Build your shared library and dummy example
cmake -DBUILD_EXAMPLE=ON ..
make
2.2.1. Run sample executable program
./sample

选手需要做的是重写queue_store.cpp,更多资料参考Java的Demo。