S3 - 最终一致性和多个客户端
如果我将一个对象放入 S3(美国东部),然后重复请求该对象的元数据,直到我可以获取它,那么此时我是否可以保证所有其他客户端现在都可以获取该对象?或者另一个客户端的请求是否可能以某种方式路由到尚未注册 PUT 的不同服务器?我试图理解最终一致性的后果,特别是在一个客户端能够获取的情况下。
If I PUT an object in S3 (US East) and then repeatedly request the object's metadata until I can GET it, then at that point am I guaranteed that all other clients can now GET the object? OR is it possible that another client's request is somehow routed to a different server that has not yet registered the PUT? I'm trying to understand the consequence of eventual consistency specifically in the case where one client has been able to GET.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
S3对于所有副本何时收敛以及所有GET都保证返回最新数据不提供任何具体保证;这是因为,如果 S3 副本之间发生网络分区,则复制可能会延迟,直到分区修复为止。然而,通常在几秒钟内就可以实现一致性。
S3 does not provide any specific guarantees as to when all replicas converge and all GETs are guaranteed to return the latest data; this is because, if a network partition were to occur between S3 replicas, replication could be delayed until the partition is repaired. However usually consistency is acheived within seconds.