/g_reason_engine

reason engine frame

Primary LanguageC++

环境安装

切换gcc版本

scl enable devtoolset-11 bash

安装bazel

wget https://copr.fedorainfracloud.org/coprs/vbatts/bazel/repo/epel-7/vbatts-bazel-epel-7.repo --no-check-certificate

yum install bazel4 -y

brpc 依赖包安装

yum install epel-release git gcc-c++ make openssl-devel gflags-devel protobuf-devel protobuf-compiler leveldb-devel gperftools-devel gtest-devel  gflags-devel glog-devel lmdb-devel -y

运行

bazel run //:http_server

测试

curl http://127.0.0.1:8010/v1/queue/start

curl -d '{"userno":"b123"}' http://127.0.0.1:8010/v1/queue/stats/123

参考资料

brpc 项目构建参考

brpc install doc