简体   繁体   English

WSO2 ESB内分泌

[英]WSO2 ESB endoints

Currently our company uses tomcat app server to hold multiple different web-services in it. 当前,我们公司使用tomcat应用服务器在其中容纳多个不同的Web服务。

The structure looks like this: 结构如下:

WSO2 ESB server -> Tomcat web-service1 -> target server1 with WSDL endpoint1
                -> Tomcat web-service2 -> target server2 with WSDL endpoint2
                -> Tomcat web-service3 -> target server3 with WSDL endpoint3
                -> Tomcat web-service4 -> target server4 with WSDL endpoint4

etc... 等等...

Is this reasonable or should the web-services run directly at the target server if possible? 这是否合理?或者,如果可能,Web服务应该直接在目标服务器上运行吗?

Or should the web-services run directly at the same server where WSO2 itself lies? 还是应该将Web服务直接运行在WSO2本身所在的同一服务器上? What is the best practice for building up the architecture? 建立架构的最佳实践是什么?

Br, M Br,M

In my opinion, an ideal way to do this is to make the web services available in several AppServer instance, and make it a clustered environment fronted by WSO2 Load Balancer. 我认为,实现此目的的理想方法是使Web服务在多个AppServer实例中可用,并使其成为WSO2 Load Balancer所面向的集群环境。

So, you may have several AppServers where each of those hosts all the web services. 因此,您可能有几个AppServer,其中每个服务器都托管所有Web服务。 Clustering makes it possible to communicate each servers to have a consistent state. 群集使通信每个服务器具有一致的状态成为可能。 This provides a solution for Single Point of Failure , and you'll be able design high availablity among others. 这为单点故障提供了解决方案,并且您将能够设计出高可用性 With a Load Balancer you may direct the traffic to servers based on an algorithm (like Round-Robin). 使用负载均衡器,您可以根据算法(如循环)将流量定向到服务器。

Clustering Configuration article of WSO2 AppServer 4.1.2 provides some details including a basic architecture diagram. WSO2 AppServer 4.1.2的“ 群集配置”文章提供了一些详细信息,包括基本体系结构图。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM