Commit 8739ec8
committed
feat: write-through cache
Adds a write-through cache implementation to the `storage` package. The
cache and its operations serve reads from an in-memory map, while writes
are served from Etcd and, if successful, persisted to the in-memory map.
This cache is useful for areas where we need to perform frequent range
queries over small to moderate numbers of small values types. This
implementation is designed to be easy and transparent to add to existing
stores.1 parent f3edc39 commit 8739ec8
File tree
4 files changed
+919
-0
lines changed- server/internal/storage
4 files changed
+919
-0
lines changed
0 commit comments