Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wzyonggege/gocache
To be a high performance Go cache
https://github.com/wzyonggege/gocache
Last synced: 14 days ago
JSON representation
To be a high performance Go cache
- Host: GitHub
- URL: https://github.com/wzyonggege/gocache
- Owner: wzyonggege
- Created: 2019-09-26T05:47:03.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-05-24T02:14:46.000Z (over 4 years ago)
- Last Synced: 2024-11-08T14:35:51.050Z (2 months ago)
- Language: Go
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GO-CACHE
key-value 缓存
local cache + redis + db
## 解决问题
1. LRU缓存淘汰(or local Memcached)
2. 缓存击穿
- Redis 加互斥锁,保护下游DB
3. 缓存穿透
- BloomFilter 检测不存在的key
4. 缓存雪崩
1. local cache + redis + db
2. redis + redis + db