docs: fix broken link to ARC implementation in interblock-cache.md (backport #24635) (#24637)

Co-authored-by: VolodymyrBg <aqdrgg19@gmail.com>
This commit is contained in:
mergify[bot] 2025-05-01 12:14:47 -04:00 committed by GitHub
parent 105186a9fb
commit 75c1629f14
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -278,7 +278,7 @@ func CacheWrap(
### Implementation details
The inter-block cache implementation uses a fixed-sized adaptive replacement cache (ARC) as cache. [The ARC implementation](https://github.com/hashicorp/golang-lru/blob/master/arc.go) is thread-safe. ARC is an enhancement over the standard LRU cache in that tracks both frequency and recency of use. This avoids a burst in access to new entries from evicting the frequently used older entries. It adds some additional tracking overhead to a standard LRU cache, computationally it is roughly `2x` the cost, and the extra memory overhead is linear with the size of the cache. The default cache size is `1000`.
The inter-block cache implementation uses a fixed-sized adaptive replacement cache (ARC) as cache. [The ARC implementation](https://github.com/hashicorp/golang-lru/blob/main/arc/arc.go) is thread-safe. ARC is an enhancement over the standard LRU cache in that tracks both frequency and recency of use. This avoids a burst in access to new entries from evicting the frequently used older entries. It adds some additional tracking overhead to a standard LRU cache, computationally it is roughly `2x` the cost, and the extra memory overhead is linear with the size of the cache. The default cache size is `1000`.
## History