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: 7 days ago
JSON representation

C++ implementation of Sentinel

Lists

README

        

Sentinel Logo

[![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
```