danthegoodman1 / IceDBS3Proxy

IceDB S3 Proxy to trick S3 clients into only seeing alive files
12 stars 0 forks source link

Object caching #20

Open danthegoodman1 opened 2 months ago

danthegoodman1 commented 2 months ago

Instead of fetching from S3, fetch from a local SSD cache. Can use local NVMes since this is just a cache to improve performance.

Related to #16

Might be good to have consistent routing to compute instance with load spillover instead of random and groupcache to reduce network hops(?) and reduce redundant caching.

Will need caching (and routing) configuration.

danthegoodman1 commented 3 weeks ago

Should support various configs, for example file size min and max size and age thresholds so that you can tune what files are cached (e.g. caching larger, older files which are less likely to be merged and become useless).

Also having TTL, can use s3-fifo for LRU cache as well.