10 lines
345 B
Markdown
10 lines
345 B
Markdown
|
# CCache
|
||
|
CCache is an LRU Cache, written in Go, focused on supporting high concurrency.
|
||
|
|
||
|
Lock contention on the list is reduced by:
|
||
|
|
||
|
1 - Introducing a window which limits the frequency that an item can get promoted
|
||
|
2 - Using a buffered channel to queue promotions for a single worker
|
||
|
3 - Garbage collecting within the same thread as the worker
|
||
|
|