Blob绑定并发 [英] Blob binding concurrency

查看:102
本文介绍了Blob绑定并发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好


读取/写入blob原子是什么?

我有一个http触发器,我从中读取基于SharePoint的项目changeToken,这个令牌我存储在一个blob中。

我想知道我是否会同时收到多个请求,每个请求是否会等待其他请求与blob一起完成?

解决方案

blob触发器在内部使用队列,因此最大并发函数调用数由
控制
在host.json中排队配置
。默认设置将并发限制为24次调用。此限制分别适用于使用blob触发器的每个函数。


https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-storage-blob#trigger- --concurrency和 - 存储器使用率


Hi

Is reading/writing to/from blob atomic?
I have a http trigger where I read items from SharePoint based on a changeToken, this token I store in a blob.
I wonder if I get multiple requests at the same time will each request wait for the other requests to be done with the blob?

解决方案

The blob trigger uses a queue internally, so the maximum number of concurrent function invocations is controlled by the queues configuration in host.json. The default settings limit concurrency to 24 invocations. This limit applies separately to each function that uses a blob trigger.

https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-storage-blob#trigger---concurrency-and-memory-usage


这篇关于Blob绑定并发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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