微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

Dropbox 响应队列的工作原理

如何解决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 举报,一经查实,本站将立刻删除。