1 Answer
- Newest
- Most votes
- Most comments
0
If the "turnover rate" of your files is quite rapid then what you're doing is probably best. You might find that using a different data store (such as DynamoDB) may be less expensive and more performant (because DynamoDB works well as a key/value store) but that may require too many changes to your application.
However, you might consider using S3 Inventory noting that it may take up to 48 hours for files to appear in the inventory - that might not be appropriate for your requirements.
Relevant content
- asked 2 years ago
- asked 5 months ago
- asked 10 months ago
Hi Bret thanks for response. BY " what you're doing is probably best." -Do you mean Capturing the events and keeping the metadata in a database? or querying the S3 using S3 API when the API request comes for this metadata?
I think that using the event notifications and capturing that data into a database is a good way to go. But querying S3 could also work. It all depends on your use case (including how often the files change; how often you are going to want to query it; stuff like that).