fanliang11 / surging

Surging is a micro-service engine that provides a lightweight, high-performance, modular RPC request pipeline. support Event-based Asynchronous Pattern and reactive programming ,The service engine supports http, TCP, WS,Grpc, Thrift,Mqtt, UDP, and DNS protocols. It uses ZooKeeper and Consul as a registry, and integrates it. Hash, random, polling, Fair Polling as a load balancing algorithm, built-in service governance to ensure reliable RPC communication, the engine contains Diagnostic, link tracking for protocol and middleware calls, and integration SkyWalking Distributed APM
MIT License
3.24k stars 924 forks source link

FallBackName 这块怎么理解应用呢 #296

Open anybt opened 5 years ago

anybt commented 5 years ago

FackBack 失败回调怎么应用呢 image 全文也没有检索到有这么一个类或者方法 这个失败回调 是不是可以应用在服务远程或者本地调用上 解决分布式事务?

fanliang11 commented 5 years ago

FallBack 是容错策略的降级回退,通过设置回退的实例名(FallBackName),服务发生错误时通过FallBackName 去调用依赖注入的接口IFallbackInvoker