Giter Club home page Giter Club logo

sentinel-rust's Introduction

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:

  • Rich applicable scenarios: Sentinel has been wildly used in Alibaba, and has covered almost all the core-scenarios in Double-11 (11.11) Shopping Festivals in the past 10 years, such as “Second Kill” which needs to limit burst flow traffic to meet the system capacity, message peak clipping and valley fills, circuit breaking for unreliable downstream services, cluster flow control, etc.
  • Real-time monitoring: Sentinel also provides real-time monitoring ability. You can see the runtime information of a single machine in real-time, and pump the metrics to outside metric components like Prometheus.
  • Polyglot support: Sentinel has provided native support for Rust, Java, Go and C++.

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.

sentinel-rust's People

Contributors

dependabot[bot] avatar flea1lt avatar forsworns avatar liangyongrui avatar millione avatar sczyh30 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.