sentinel-golang

module
v0.0.0-...-3c16d7b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 30, 2023 License: Apache-2.0

README

Sentinel Logo

Sentinel: The Sentinel of Your Microservices

CI codecov GoDoc Go Report Card License Gitter GitHub last commit GitHub repo size GitHub closed issues

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, concurrency limiting, circuit breaking and system adaptive overload protection, to guarantee reliability and resiliency of microservices.

flow-overview

Sentinel provides 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, throttling, circuit breaking for unreliable downstream services, distributed rate limiting, 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.
  • Cloud-native ecosystem: Sentinel Go provides out-of-box integrations with cloud-native components.

Documentation

GoDoc

See the 中文文档 for the document in Chinese.

See the Wiki for full documentation, examples, blog posts, and other information.

If you are using Sentinel, please leave a comment here to tell us your scenario to make Sentinel better. It's also encouraged to add the link of your blog post, tutorial, demo or customized components to Awesome Sentinel.

Sub-projects

Bugs and Feedback

For bug report, questions and discussions please submit GitHub Issues.

Contributing

Contributions are always welcomed! Please see CONTRIBUTING for detailed guidelines.

You can start with the issues labeled with good first issue.

Communication

  • DingTalk Group (钉钉群): 23339422
  • Gitter

Directories

Path Synopsis
Package api provides the topmost fundamental APIs for users using sentinel-golang.
Package api provides the topmost fundamental APIs for users using sentinel-golang.
core
circuitbreaker
Package circuitbreaker implements the circuit breaker pattern, which provides stability and prevents cascading failures in distributed systems.
Package circuitbreaker implements the circuit breaker pattern, which provides stability and prevents cascading failures in distributed systems.
config
Package config provides general configuration mechanism.
Package config provides general configuration mechanism.
flow
Package flow implements the flow shaping control.
Package flow implements the flow shaping control.
hotspot
Package hotspot provides implementation of "hot-spot" (frequent) parameter flow control.
Package hotspot provides implementation of "hot-spot" (frequent) parameter flow control.
isolation
Package isolation provides implementation of concurrency limiting (semaphore isolation).
Package isolation provides implementation of concurrency limiting (semaphore isolation).
log
stat/base
Package stat/base provides fundamental data structures of statistics.
Package stat/base provides fundamental data structures of statistics.
system
Package system provides implementation of adaptive system protection.
Package system provides implementation of adaptive system protection.
example
exporter
ext
datasource
Package ext/datasource provides interfaces and helper classes of dynamic data-source.
Package ext/datasource provides interfaces and helper classes of dynamic data-source.
pkg
adapters/echo Module
adapters/gear Module
adapters/gin Module
adapters/grpc Module
adapters/iris Module
tests

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL