eko / gocache

☔️ A complete Go cache library that brings you multiple ways of managing your caches
https://vincent.composieux.fr/article/i-wrote-gocache-a-complete-and-extensible-go-cache-library/
MIT License
2.4k stars 193 forks source link

[Ristretto Store] Add configurable synchronous write option #231

Closed kmdrn7 closed 8 months ago

kmdrn7 commented 9 months ago

Add configurable option to ristretto cache store to be able to wait/blocks until all buffered writes have been applied. ref: https://github.com/dgraph-io/ristretto/blob/main/cache.go#L219

Fixes : #207