sentinel-group / sentinel-rust

Sentinel Rust version
Apache License 2.0
132 stars 22 forks source link
Sentinel Logo

Sentinel: The Sentinel of Your Microservices

Crates.io Sentinel CI Codecov Apache licensed Gitter chat

Introduction

As distributed systems become increasingly popular, the reliability between services is becoming more important than ever before. Sentinel takes "flow" as breakthrough point, and works on multiple fields including flow control, traffic shaping, circuit breaking and system adaptive protection, to guarantee reliability and resilience for microservices.

Sentinel has the following features:

Documentation

Rust Edition

See the Wiki for Rust version full documentation, examples, blog posts, operational details and other information.

The Rust API documentation is working in progress.

General Backgrounds on Sentinel

See the Sentinel for the document website.

See the 中文文档 for document in Chinese.

Example

Add the dependency in Cargo.toml:

[dependencies]
sentinel-core = { version = "0.1.3", features = ["full"] }

See examples under /examples and test them via

cargo run --example $example_name

Contributing

Contributions are always welcomed! Please refer to CONTRIBUTING for detailed guidelines.