Nuster Cache Server
Posted on July 30, 2019
nuster v3.0.0.19 released, now supports disk persistence
https://github.com/jiangwenyuan/nuster
There are four MODEs.
- off: default, disable disk persistence, data are stored in memory only
- only: save data to disk only, do not store in memory
- sync: save data to memory and disk(kernel), then return to the client
- async: save data to memory and return to the client, cached data will be saved to disk later by the master process
nuster rule off disk off ttl 1m if { path_beg /disk-off }
nuster rule only disk only ttl 1d if { path_beg /disk-only }
nuster rule sync disk sync ttl 1h if { path_beg /disk-sync }
nuster rule async disk async ttl 2h if { path_beg /disk-async }
nuster rule others ttl 100
- /disk-offwill be cached only in memory
- /disk-onlywill be cached only in disk
- /disk-syncwill be cached in memory and in disk, then return to the client
- /disk-asyncwill be cached in memory and return to the client, cached data will be saved to disk later
- other requests will be cached only in memory
💖 💪 🙅 🚩
Nuster Cache Server
Posted on July 30, 2019
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
showdev Nuster, a cache server based on HAProxy, now supports disk persistence, purging cache files, etc
October 4, 2019