Does the file gateway cache need to be at least as large as the largest file being uploaded?

0

From the FAQs: "writes could fail if there is no free cache space to store data locally pending upload to S3." This seems to suggest that the file needs to sit in that cache space before it can be uploaded into S3, which makes me think that the cache needs to be at least the size of the largest potential file (I guess in my customer's case, 5TB).

My customer cares less about the performance benefits of the cache (because they are using file gw for backups that they don't plan to access) and more about the limitations that it introduces for file uploads. The documentation says that the "cache disk size must be tuned to the size of the active working set." Basically the only active working set for my customer will be the files that need to be uploaded. They are not anticipating a need for continuous retrieval.

So my question is- does the file gateway cache need to be at least as large as the largest file being uploaded? Or larger potentially? Any suggestions on how to choose the size of the cache?

AWS
已提问 4 年前339 查看次数
1 回答
0
已接受的回答

We cache parts of files so the cache can be smaller that the size of the largest file you are reading/writing/updating.

AWS
Paul_R
已回答 4 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则