[译]Ocelot - Big Picture

原文

目录

Ocelot适用于那些.NET微服务的项目,它为微服务提供了统一的一个入口,并且集成了IdentityServer。

Ocelot就是特定顺序的一组中间件。

下面是部署Ocelot的几种类型。

Basic Implementation

单个Ocelot服务器多个下游http服务。

With IdentityServer

单个Ocelot服务器多个下游http服务集成IdentityServer,Ocelot有一个ReRoute从IdentityServer获取token。然后使用token请求Ocelot,为访问下游的请求加上claim信息。

Multiple Instances

多个Ocelot服务器多个下游http服务。

With Consul

多个Ocelot服务器通过Consul调用多个下游服务。

With Service Fabric

posted @ 2018-09-06 15:53  irocker  阅读(390)  评论(0编辑  收藏  举报