S3 query file name without database

0

hi, I'm have this question. I need to create a document portal to download product manuals. The number of files is very high, we're talking about approximately 200,000 files totaling around 100GB in size. The files are stored in an S3 bucket. My portal should display the download link for all files whose file name contains a serial number. i've multiple manual for every product that in the name contain serial number. I'd prefer not to use a supporting database. My application executes a LIST operation on the objects to search for it, which impacts the S3 LIST costs significantly.

What's the best approach in these cases? Please consider also that the files are updated six times a day.

Mauro
已提問 1 個月前檢視次數 185 次
1 個回答
1
  • Thanks Antonio, I know about presigned URLs... I'm sure I'll use this solution or CloudFront because it's more secure. My question is how to optimize the S3 LIST because on 200.000 of file every LIST is expensive. It scans through every list to filter by file name... The output isn't extensive, around 10 results... but it scans through everything to return them. The ideal scenario would be a supporting inventory file where the application can query without much economic effort. There's S3 Inventory, but it seems it can only update once a day. I need it to update six times

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

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

回答問題指南