Hello fellow Rust enthusiasts!
I have a Rust-based application that downloads images from an S3 bucket, processes them, and shares metadata about the image. However, every time a user requests to process a file, it needs to download the file from S3 and process it again, which can be time-consuming and resource-intensive.
I'm looking for a way to cache a certain amount of files on disk, say 200GB, and rotate least used files so that the app only downloads new files. Is there a Rust crate or library that can help me achieve this goal?
I'd appreciate any guidance or advice on this matter. Thank you in advance!