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 (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-05-10T14:44:31.000Z (6 months ago)
- Last Synced: 2024-06-22T07:51:28.652Z (5 months ago)
- Topics: cpp, hacktoberfest, microservice, rate-limiting, resilience
- Language: C++
- Homepage:
- Size: 483 KB
- Stars: 139
- Watchers: 25
- Forks: 33
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- sentinel-awesome - Sentinel C++
README
[![Build Status](https://travis-ci.org/alibaba/sentinel-cpp.svg?branch=master)](https://travis-ci.org/alibaba/sentinel-cpp)
[![License](https://img.shields.io/badge/license-Apache%202-4EB1BA.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)
[![Gitter](https://badges.gitter.im/alibaba/Sentinel.svg)](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
```