Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alibaba/sentinel-cpp
C++ implementation of Sentinel
https://github.com/alibaba/sentinel-cpp
cpp hacktoberfest microservice rate-limiting resilience
Last synced: 3 months 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 (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-05-10T14:44:31.000Z (9 months ago)
- Last Synced: 2024-08-03T21:02:33.792Z (7 months ago)
- Topics: cpp, hacktoberfest, microservice, rate-limiting, resilience
- Language: C++
- Homepage:
- Size: 483 KB
- Stars: 142
- Watchers: 25
- Forks: 34
- 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
```