[英]azure function app scaling with storage queue binding
we are in the process of designing a solution where in we have我们正在设计一个解决方案,其中我们有
Questions问题
Thanks -nen谢谢 -nen
what would happen when we scale the function app, say if we have 2 instances of the function, will both the functions receive the messages (duplicates) from the queue ?
当我们扩展函数应用程序时会发生什么,假设我们有 2 个函数实例,这两个函数是否都会从队列中接收消息(重复)?
No. Each Function instance will get different messages.不会。每个 Function 实例都会收到不同的消息。 Essentially the messages are fetched in
GET
mode (ie they are dequeued) and if a message is dequeued by one Function instance, it will become invisible to other Function instance for a certain amount of time.本质上,消息是在
GET
模式下获取的(即它们出队),如果一个消息被一个 Function 实例出队,它会在一段时间内对其他 Function 实例不可见。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.