问题描述
Amazon文档( http://docs.aws.amazon .com/AmazonS3/latest/dev/Introduction.html#ConsistencyModel )状态:
Amazon documentation (http://docs.aws.amazon.com/AmazonS3/latest/dev/Introduction.html#ConsistencyModel) states:
"Amazon S3为所有区域中的S3存储桶中的新对象的PUTS提供了写后读取一致性,但请注意."
"Amazon S3 provides read-after-write consistency for PUTS of new objects in your S3 bucket in all regions with one caveat."
忽略警告,这意味着保证在新对象的PUT之后发出GET的客户端可以保证获得正确的结果.我的问题是,如果GET是从其他客户端(而不是PUT的客户端)发出的,那么担保是否也适用(假设GET依时间顺序遵循PUT)?换句话说,写后读取一致性是简单的读-写一致性还是对所有客户端都有效?
Ignoring the caveat, this means that a client issuing a GET following a PUT for a new object is guaranteed to get the correct result. My question is, would the guarantee also apply if the GET is issued from a different client not the one which did the PUT (assuming of course the GET follows the PUT chronologically)? In other words, is read-after-write consistency simply read-your-write consistency or it works for all clients?
我怀疑答案是它在全球范围内有效,但是找不到确切的答案.
I suspect the answer is that it works globally but can't find a definitive answer.
推荐答案
是的,这是一致的.
客户端"的概念无关紧要,因为每个API调用都是独立的.
The concept of a 'client' is irrelevant because each API call is independent.
us-east-1
区域(以前称为US-Standard
)以前不具有读写后一致性,但是它是现在已在所有地区提供.
The us-east-1
region (previously known as US-Standard
) previously did not have read-after-write consistency, but it is now provided in all regions.
这篇关于写后读取一致性对S3中的新对象PUT真正意味着什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!