Azure功能将每分钟抽取多少请求 [英] How many requests per minute will be pumped by Azure function

查看:67
本文介绍了Azure功能将每分钟抽取多少请求的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

< style type =" text / css"> p.p1 {margin:0.0px 0.0px 0.0px 0.0px;字体:12.0px'Helvetica Neue';颜色:#454545}< / style>

我正在使用azure函数,它将根据服务总线队列触发并将此消息泵送到某些第三方休息服务api。假设我队列中有10000条消息并且函数已经启动,那么有多少请求将被提取到每分钟休息服务


我需要抽取请求的计数单个Azure功能服务器向第三方休息服务器。




方案是第三方休息服务器每分钟只能处理500个请求。那么应该配置多少个Azure功能服务器。




Azure功能服务器的动态扩展是不在这里工作。因为我的服务总线上有10k条消息,功能已经启动。我们观察到有42个在线azure功能服务器正在攻击第三方休息服务器。这个休息服务器无法处理每分钟那么多请求的
。他们每分钟只能处理500个请求。




所以,如果我知道请求泵数每分钟购买一台Azure功能服务器,我们可以配置No of Azure功能服务器来点击第三方休息服务器。




提前致谢。




解决方案

< blockquote>


我认为没有。天蓝色功能在一分钟内对第三方服务器进行的调用完全取决于您在功能应用程序中运行的逻辑。因此,您最好有一些日志记录机制,并查看平均每小时
a分钟发送的天蓝色功能请求数量,并相应地扩展您的应用程序。



问候,


Sammani 


https://sammanipalansuriya.blogspot.com/


<style type="text/css">p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Helvetica Neue'; color: #454545} </style>

I am using azure function which will be triggered based on service bus queue and pumping this message to some third party rest service api. Suppose if I have 10000 messages in queue and function got started, So how many requests will be pumped to rest service per minute?

I need that count of request will be pumped to third party rest servers by an single Azure function server.

Scenario is Third party rest server can handle only 500 requests per minute. So how many Azure function servers should be configured.

Dynamic scaling of Azure function severs are not working here. Because I have 10k messages in my service bus and function got started. We have observed that 42 online azure function servers are hitting the third party rest server. This rest server cant handle those many requests per minute. They can handle only 500 requests per minute.

So if I know the requests pump count per minute buy an Azure function server, we can configure the No of Azure function servers to hit the third party rest server.

Thanks in advance.


解决方案

Hi,

I think no. of calls made by the azure function to the 3rd party server within a minute a totally depend on the logic you run inside your function app. So you better have some logging mechanism and see how many request been sent my the azure function in a minute in average and scale your app accordingly.

Regards,

Sammani 

https://sammanipalansuriya.blogspot.com/


这篇关于Azure功能将每分钟抽取多少请求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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