Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/amazon-s3/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Amazon web services 将多个文件写入S3作为备份并处理最终的一致性_Amazon Web Services_Amazon S3 - Fatal编程技术网

Amazon web services 将多个文件写入S3作为备份并处理最终的一致性

Amazon web services 将多个文件写入S3作为备份并处理最终的一致性,amazon-web-services,amazon-s3,Amazon Web Services,Amazon S3,我想使用S3存储一组与RocksDB备份相对应的文件。考虑到S3最终是一致的,那么在S3中存储文件之后,是否可以几乎完全读取所有文件。我指的顺序是 T1: Take RocksDB backup (generates a bunch of files in a folder) T2: Use S3 TransferManager or aws s3 sync to upload this folder to S3. T3: Use S3 TransferManager or aws s3 syn

我想使用S3存储一组与RocksDB备份相对应的文件。考虑到S3最终是一致的,那么在S3中存储文件之后,是否可以几乎完全读取所有文件。我指的顺序是

T1: Take RocksDB backup (generates a bunch of files in a folder)
T2: Use S3 TransferManager or aws s3 sync to upload this folder to S3.
T3: Use S3 TransferManager or aws s3 sync to download this folder from S3.

如果T3和T2之间的时间间隔非常小,是否可能由于最终的一致性,S3中的某些文件在T3处不可见?

新文件应立即可见,因为S3对新文件使用先读后写一致性。最终一致性仅在更新现有文件时使用。详细信息(包括写后读一致性的警告)可在此处找到: