每次更改Feed最多订阅者数量是多少? [英] How many max subscribers per change feed?

查看:110
本文介绍了每次更改Feed最多订阅者数量是多少?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以为同一个集合设置100或1000个订阅者,其中每个订阅者是具有不同租约前缀的Azure函数吗?

Can I set up 100 or 1000 subscribers for the same collection, where each subscriber is an Azure Function with a different lease prefix?

例如:

源Cosmos Db数据库:Database1

源Cosmos数据库集合:Collection1

Subscriber1:AzureFunction1,前缀为= Subscriber1,写入目标Azure存储表1

Subscriber1: AzureFunction1 with prefix = Subscriber1, writing in destination Azure Storage Table 1

Subscriber2:AzureFunction2,前缀= Subscriber2,写作在目标Azure存储表2

Subscriber2: AzureFunction2 with prefix = Subscriber2, writing in destination Azure Storage Table 2

...

SubscriberXX:AzureFunctionXX,前缀= SubscriberXX,写入目标Azure存储表XX

SubscriberXX: AzureFunctionXX with prefix = SubscriberXX, writing in destination Azure Storage Table XX

或者从成本的角度来看,这是不是最理想的(RU),最好只有1个用户将数据推送到事件中心,所有其他人都接受了吗?

Or would that be suboptimal from cost point of view (RUs) and it would be better to have 1 subscriber only which pushes the data to Event Hubs, and from there all the rest take it?

推荐答案

您好,

感谢您的支持反馈。  您需要为消耗的RU付费,因为进出Cosmos容器的数据移动总是消耗RU。

Thanks for your feedback. You are charged for RUs consumed, since data movement in and out of Cosmos containers always consumes RUs.

您可以参考  ; 更改Feed处理程序,这将帮助您扩展和优化负载。根据我的理解,使用事件中心将是更好的方法。

You can refer to Change feed processor, which will help you in scaling and optimizing the loads. As per my understanding, using the Event Hubs would be better approach.

希望它有所帮助。


这篇关于每次更改Feed最多订阅者数量是多少?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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