边缘服务发现(Edge services discovery)

编程入门 行业动态 更新时间:2024-10-23 15:19:48
边缘服务发现(Edge services discovery)

我正在考虑基于Spring Cloud的实现。 我有一个基于节点边缘服务的Eureka注册表。 Node服务使用Prana侧车来解析Eureka上的注册服务以及注册Node服务。 解决边缘服务的最佳做法是什么? 我读到了Zuul。 这是正确的方法吗? 或者它应该托管在像WSO2这样的网关上? 此外,如果边缘服务是一个集群,那么常用的系统布局是什么? 任何指针都将非常感激。

I am POCing a Spring Cloud based implementation. I have a Eureka registry with a Node based edge service. The Node service uses a Prana side car to resolve registered services on Eureka as well as register the Node service. What is the best practice for resolving the edge service? I read about Zuul. Is that the right approach? Or should it be hosted on a gateway like WSO2? Also, if the edge services are a cluster then what is the system layout that is commonly used? Any pointers would be greatly appreciated.

最满意答案

这取决于您的实际需求。 如果您需要对路由,负载均衡,过滤器逻辑等进行大量控制,或者您正在运行自己的堆栈和/或您无法访问动态负载均衡器,我建议您使用Zuul。

我们当前正在ELB上的AWS上运行多个Zuul实例,它们以循环方式调用,并且请求根据众多因素(元数据,路径,变量)路由到相应的服务。 到目前为止,我们还没有遇到任何性能问题。

It depends on your actual needs. I recommend using Zuul on your edge if you need a lot of control over your routing, loadbalance, filter logic etc or you are running your own stack and/or you don't have access to dynamic loadbalancers.

We are currently running multiple Zuul instances on AWS behind ELB, they are invoked in a round robin fashion and the requests are routed to the appropriate service based on numerous factors (metadata, path, variables). We haven't had any issues with performance so far.

更多推荐

本文发布于:2023-08-06 18:34:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1453847.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:边缘   发现   Edge   services   discovery

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!