L1-node icon indicating copy to clipboard operation
L1-node copied to clipboard

Add support for aged cache directories

Open holdenk opened this issue 2 years ago • 4 comments

Eg on some servers there is X TB of NVMe and Y TB of SSD and K TB of HDD and it would be nice to have expiration just slowly move data down the stack in terms of speed.

holdenk avatar Nov 28 '22 18:11 holdenk

I don't think this is configurable on nginx

DiegoRBaquero avatar Nov 29 '22 15:11 DiegoRBaquero

slowly move data down the stack in terms of speed

+1; this thought has crossed my mind as well.

I don't think this is configurable on nginx

It's probably just something we would have to "build" (as in, code out, with "domain knowledge"), not something Nginx could automagically "just do" for us with config.

vorburger avatar Dec 03 '22 11:12 vorburger

Yeah if theres interest in this maybe I'll take a crack it over the winter break, I've got a new server on with 8tb of NVMe and another 8tb of HDE I'd like to take advantage of (I know in practice right now the cache depth is likely to all fit inside the first 8tb of NVMe but you know the "future") :)

holdenk avatar Dec 03 '22 14:12 holdenk

@holdenk I suspect The Way To Go on this is probably https://man.archlinux.org/man/lvmcache.7 - WDYT?

vorburger avatar Dec 05 '22 22:12 vorburger