随笔分类 -  框架方向 / 微服务技术

摘要:微服务 - 框架流程图 阅读全文
posted @ 2022-09-05 11:01 无心々菜 阅读(103) 评论(0) 推荐(1) 编辑
摘要:Ocelot 服务发现 以上文中项目为例:https://www.cnblogs.com/1285026182YUAN/p/15234331.html 服务发现 是指在微服务项目中,当下游服务太多的时候,需要一个专门的工具记录这些服务的地址和端口等信息,这样会更加便于对服务的管理,而当上游服务向这个 阅读全文
posted @ 2021-09-08 09:50 无心々菜 阅读(71) 评论(0) 推荐(0) 编辑
摘要:Ocelot 负载均衡 以上文中项目为例:https://www.cnblogs.com/1285026182YUAN/p/15234331.html 1. 在OService1与OService2中 都增加以下控制器接口 namespace OService1.Controllers { [Rou 阅读全文
posted @ 2021-09-07 15:34 无心々菜 阅读(127) 评论(0) 推荐(0) 编辑
摘要:Ocelot 请求聚合 请求聚合需注意以下三点: 仅支持GET方式 下游服务返回类型要求为application/json 返回内容类型为application/json,不会返回404请求 以上文中项目为例:https://www.cnblogs.com/1285026182YUAN/p/1523 阅读全文
posted @ 2021-09-07 14:53 无心々菜 阅读(159) 评论(0) 推荐(0) 编辑
摘要:Ocelot 网关搭建 官网:http://threemammals.com/ocelot 文档:https://ocelot.readthedocs.io/en/latest/ Github:https://github.com/ThreeMammals/Ocelot Ocelot是一个基于 .n 阅读全文
posted @ 2021-09-06 16:22 无心々菜 阅读(270) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示