SOA 方法或方法有哪些?

发布于 2024-10-26 20:35:17 字数 36 浏览 12 评论 0原文

我读到过将 ESB 用作 SOA 方法。还有哪些其他方法?

I've read of an ESB being used as a SOA approach. What are some other approaches?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

只是在用心讲痛 2024-11-02 20:35:17

这是一个非常广泛的问题,你可能要关注的是。

如果您询问替代 ESB 的方法,那么您可以考虑使用直接访问服务,而不是使用服务总线。

此方法通常与目录或查找服务(如 UDDI)一起使用来查找服务端点位置。

使用 ESB 时,您将消息发送到 ESB,ESB 负责将消息路由到服务提供商。

当使用直接访问时,客户端应该提前知道服务提供商的地址,并且他将消息直接发送给他。

使用查找服务时,您首先查询服务提供商的地址(如使用 DNS 查找 IP 地址),然后使用该地址将消息发送给服务提供商。

除了寻址和路由之外,如果您使用直接访问方法,ESB 还可能提供您失去的其他功能(或必须以其他方式实现)。

  • 多播路由 - 将请求发送到多个服务提供商
  • 基于上下文的路由 - 根据请求的内容决定我们应该将请求发送到哪个服务提供商
  • 中央日志记录
  • 中央策略执行
  • 负载平衡 \ 容错
  • 格式或协议转换
  • 缓冲和异步服务调用

This is a very broad question, you may want to focus is.

If you are asking regarding approaches that are instead of ESB, then you may consider using direct access to services, instead of using a service bus.

This approach is often used with a directory or lookup service like UDDI to look up service end point location.

When using an ESB, you send the message to the ESB, who 's responsible to route it to the service provider.

When using direct access the client should know in advance the address of the service provider, and he sends the message directly to him.

When using a lookup service, you first query the address of the service provider (like using DNS to lookup IP addresses), and using this address you send the message to the service provider.

Beyond addressing and routing, the ESB may provide other functions that you loose (or have to implement in other way) if you use the direct access approach.

  • multi cast routing - sending the request to more then one service provider
  • context based routing - deciding to which service provider we should send the request, based on the content of the request
  • central logging
  • central policy enforcement
  • load balancing \ fault tolerance
  • format or protocol translation
  • buffering and asynchronous service invocation
潇烟暮雨 2024-11-02 20:35:17

首先......问问自己,您秉承哪种 SOA 理念。如果您属于 IBM 阵营,那么有 4 种不同的产品提供 ESB 功能。每个产品都针对不同的场景进行了优化,但基本上每个产品都具有相似的功能。

想想……SOA == 汽车。 IBM 是制造商之一。不同的产品==不同类型的汽车适合不同类型的驾驶员。

First.... ask yourself which SOA philosophy are you adhering to. If you are in the IBM camp, then there are 4 different products that provide ESB functionality. Each product is optimized for a different scenarios but basically each one does similar functions.

Think.... SOA == a car. IBM is one manufacturer. Different products == different type of cars for different type of drivers.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文