[英]WSO2 ESB Clustering Architectural configuration
i have a question about an architectural solution feasibility using WSO2. 我对使用WSO2的架构解决方案可行性提出了疑问。 This is my scenario: I have a Web Service REST exposing some functionalities I have the WSO2 ESB I have a client layer (Liferay)
这是我的场景:我有一个Web服务REST暴露了一些功能我有WSO2 ESB我有一个客户端层(Liferay)
the architecture i want to develop is the one showed in the first image: http://s11.postimg.org/gu6b6k3zn/Immagine.png 我想开发的架构是第一张图片中显示的架构: http : //s11.postimg.org/gu6b6k3zn/Immagine.png
1) Liferay clients send request to avail one functionality 2) WSO2 ESB (clustered) get the client request... and (as a proxy) redirects it to che tomcat server by using load balancing mechanism 3) Web service on tomcat receives the request and answers to it 1)Liferay客户端发送请求以利用一个功能2)WSO2 ESB(集群)获取客户端请求...和(作为代理)通过使用负载平衡机制将其重定向到che tomcat服务器3)tomcat上的Web服务接收请求并回答它
Studying the WSO2 documentation i saw the configuration showed in the img 2 dealing with esb clustering and load balancing http://s17.postimg.org/tuy885gzz/Immagine2.png As i can see, in this case the Tomcat Application Server(inside WSO2 AS) is embedded inside the WSO2 ESB, so i have to deploy my REST WS into the WSO2 esb, and then clustering it. 研究WSO2文档我看到img 2中的配置显示了esb集群和负载平衡http://s17.postimg.org/tuy885gzz/Immagine2.png正如我所看到的,在这种情况下是Tomcat应用服务器(在WSO2内部) AS)嵌入在WSO2 ESB中,因此我必须将我的REST WS部署到WSO2 esb中,然后对其进行聚类。 I want to ask if the second solution is the only permitted or if i can obtain my first architectural solution in which the tomcat instances are decoupled from the ESB instances on a third (physically separated) layer.
我想询问第二个解决方案是否是唯一允许的,或者我是否可以获得我的第一个体系结构解决方案,其中tomcat实例与第三个(物理上分离的)层上的ESB实例分离。
In image 2, ( http://s17.postimg.org/tuy885gzz/Immagine2.png ), it is shown a Fail over scenario, where when the Primary ESB node goes down, the requests will be routed to backup node 2. 在图像2( http://s17.postimg.org/tuy885gzz/Immagine2.png )中,显示了故障转移方案,其中当主ESB节点发生故障时,请求将被路由到备份节点2。
Even if you want to deploy something like in image 2, you can have the WSO2 AS layer sitting behind the ESB server layer. 即使您想部署类似于映像2的内容,也可以将WSO2 AS层放在ESB服务器层后面。 There you can deploy your REST WS.
在那里,您可以部署REST WS。 The REST WS can be fronted by a proxy in your ESB.
REST WS可以由ESB中的代理提供。 And the proxy can be accessed by your life ray client.
并且您的life ray客户端可以访问代理。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.