Dropbox 响应队列的工作原理

问题描述

我正在阅读这篇文章https://medium.com/@narengowda/system-design-dropbox-or-google-drive-8fd5da0ce55b。在同步服务部分,它写了 The Response Queues that correspond to individual subscribed clients are responsible for delivering the update messages to each client. Since a message will be deleted from the queue once received by a client,we need to create separate Response Queues for each client to be able to share an update message which should be sent to multiple subscribed clients。上下文是we need a response queue to send the file updates from one client to other clients。我对这个说法感到困惑。如果 DropBox 有 1 亿个客户端,我们需要根据语句创建 1 亿个队列。这对我来说是不可想象的。例如,一个 Kafka 集群最多可以支持 5K 个主题https://stackoverflow.com/questions/32950503/can-i-have-100s-of-thousands-of-topics-in-a-kafka-cluster#:~:text=The%20rule%20of%20thumb%20is,5K%20topics%20should%20be%20fine.)。在这种情况下,我们需要 20K Kafka 集群。哪个排队系统可以做1亿个“话题”?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)