You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+33-72Lines changed: 33 additions & 72 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@
8
8
9
9
<brclear="right">
10
10
11
-
Fast, persistent Go cache with S3-FIFO eviction - better hit rates than LRU, survives restarts with local files or Google Cloud Datastore, zero allocations.
11
+
Fast, persistent Go cache with S3-FIFO eviction - better hit rates than LRU, survives restarts with pluggable persistence backends, zero allocations.
12
12
13
13
## Install
14
14
@@ -19,30 +19,42 @@ go get github.com/codeGROOVE-dev/bdcache
-[`persist/cloudrun`](persist/cloudrun) - Auto-detect Cloud Run
46
58
-**Graceful degradation** - Cache works even if persistence fails
47
59
-**Per-item TTL** - Optional expiration
48
60
@@ -73,64 +85,13 @@ Benchmarks on MacBook Pro M4 Max comparing memory-only Get operations:
73
85
74
86
### Competitive Analysis
75
87
76
-
Independent benchmark using [scalalang2/go-cache-benchmark](https://github.com/scalalang2/go-cache-benchmark) (500K items, Zipfian distribution):
88
+
Independent benchmark using [scalalang2/go-cache-benchmark](https://github.com/scalalang2/go-cache-benchmark) (500K items, Zipfian distribution) shows bdcache consistently ranks top 1-2 for hit rate across all cache sizes:
Consistently ranks top 1-2 for hit rate across all cache sizes while maintaining competitive throughput (5-12M QPS). The S3-FIFO implementation prioritizes cache efficiency over raw speed, making bdcache ideal when hit rate matters.
0 commit comments