https://github.com/alibaba/sentinel-cpp
C++ implementation of Sentinel
https://github.com/alibaba/sentinel-cpp
cpp hacktoberfest microservice rate-limiting resilience
Last synced: 13 days ago
JSON representation
C++ implementation of Sentinel
- Host: GitHub
- URL: https://github.com/alibaba/sentinel-cpp
- Owner: alibaba
- License: apache-2.0
- Created: 2019-01-29T03:46:55.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-05-10T14:44:31.000Z (about 1 year ago)
- Last Synced: 2025-03-16T14:41:00.259Z (2 months ago)
- Topics: cpp, hacktoberfest, microservice, rate-limiting, resilience
- Language: C++
- Homepage:
- Size: 483 KB
- Stars: 142
- Watchers: 24
- Forks: 33
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- sentinel-awesome - Sentinel C++
README
[](https://travis-ci.org/alibaba/sentinel-cpp)
[](https://www.apache.org/licenses/LICENSE-2.0.html)
[](https://gitter.im/alibaba/Sentinel)# Sentinel: The Sentinel of Your Microservices
## Build
1. Install the latest version of [Bazel](https://bazel.build/versions/master/docs/install.html) in your environment.
2. Build the project.```sh
bazel build -c opt //...
```3. Run the [QPS limiting demo](https://github.com/alibaba/sentinel-cpp/blob/master/examples/sentinel-cpp/basic_qps_limit.cc):
```sh
CSP_SENTINEL_APP_NAME=my-demo ./bazel-bin/examples/sentinel-cpp/sentinel_basic_qps_limit
```