是否可以将传入请求复制到多个应用服务? [英] Is it possible to replicate an incoming request to multiple app services?

查看:46
本文介绍了是否可以将传入请求复制到多个应用服务?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以使用应用程序网关或流量管理器接收传入请求并同时将其发送到多个其他端点(例如,应用服务)。


用例是我们有一些不同的环境(开发,测试,产品等),每个环境都有自己的应用服务和数据库。我们与第三方数据提供商合作,该提供商将时间序列数据发布到我们的prod环境API。将此请求发布到开发和测试环境是非常有益的
,这样我们就可以在开发过程中处理实时数据。


这可能吗?如果是这样,我该如何设置呢?提前致谢!


(PS只有主要的响应,在这种情况下是prod,是必需的。其他两个响应可以安全地忽略)

解决方案

你的行话, 



应用程序网关和流量管理器基本上是加载无法将相同请求路由到多个端点的平衡器。 


在HTTP中,可以进行一个请求和一个响应。如您所述,响应可以忽略,您可以尝试将请求发送到Azure服务总线,然后您的服务器需要提取请求并进行处理。 


--------------- -------------------------------------------------- ------------------------------------------


如果你发现这篇文章很有帮助,请给它一个"有用的"投票。 


如果答案有帮助,请记得将答复标记为答案。





Is it possible to use an Application Gateway or Traffic Manager take an incoming request and issue it to multiple other endpoints at the same time (e.g. app services).

The use case is we have a few different environments (dev, test, prod, etc.) each with their own app services and databases. We work with a third party data provider which posts time-series data to our prod environment API. It would be extremely beneficial to have this request also post to the dev and test environments so that we are able to work with live data during development.

Is this possible? If so, how do I go about setting this up? Thanks in advance!

(PS Only the response from the primary, in this case prod, is required. The other two responses can be safely ignored)

解决方案

Hi Jargon, 

Application gateway and Traffic managers are basically Load balancers which is not capable of routing the same request to multiple endpoints. 

In HTTP, one request and one response is possible. As you mentioned the response can be ignored, you can try sending the request to a Azure service bus and then your Server need to pull in the request and process it. 

-----------------------------------------------------------------------------------------------------------

If you found this post helpful, please give it a "Helpful" vote. 

Please remember to mark the replies as answers if they help.



这篇关于是否可以将传入请求复制到多个应用服务?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆