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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南