Files
seaweedfs/weed/filer
Eugeniy E. Mikhailov dab0bb8097 Feature limit caching to prescribed number of bytes per file (#6009)
* feature: we can check if a fileId is already in the cache

We using this to protect cache from adding the same needle to
the cache over and over.

* fuse mount: Do not start dowloader if needle is already in the cache

* added maxFilePartSizeInCache property to ChunkCache

If file very large only first maxFilePartSizeInCache bytes
are going to be put to the cache (subject to the needle size
constrains).

* feature: for large files put in cache no more than prescribed number of bytes

Before this patch only the first needle of a large file was intended for
caching. This patch uses maximum prescribed amount of bytes to be put in
cache. This allows to bypass default 2MB maximum for a file part stored
in the cache.

* added dummy mock methods to satisfy interfaces of ChunkCache
2024-09-11 21:09:20 -07:00
..
2024-09-10 10:28:49 -07:00
2024-05-18 12:19:10 -07:00
2024-03-25 12:50:43 -07:00
2024-03-25 12:50:43 -07:00
2024-03-25 12:50:43 -07:00
2024-07-11 07:53:02 -07:00
2022-10-12 00:03:27 -07:00
2023-10-25 22:09:39 -07:00
2023-01-04 09:52:25 -08:00
2022-08-17 12:42:03 -07:00
2024-09-10 10:29:25 -07:00
2023-01-10 00:46:46 -08:00
2024-07-20 11:27:11 -07:00
2024-08-01 13:00:54 -07:00
2024-08-01 23:27:23 -07:00
2024-07-11 00:26:18 -07:00
2024-06-28 14:57:20 -07:00
2023-04-13 22:32:45 -07:00
2024-04-02 16:25:43 -07:00
2024-07-16 23:14:09 -07:00
2020-09-01 00:21:19 -07:00