Tag

FreeCache

0 views collected around this technical thread.

Tencent Cloud Developer
Tencent Cloud Developer
Apr 21, 2022 · Backend Development

Local Cache Solutions in Golang: A Comprehensive Guide to Open-Source Components

The guide reviews the essential requirements for Go local caching and compares seven open‑source caches—freecache, bigcache, fastcache, offheap, groupcache, ristretto, and go‑cache—while detailing the sharded, lock‑reduced designs of freecache, bigcache, fastcache, and offheap, and explains how off‑heap allocation or pointer‑free maps achieve near zero‑GC performance.

Backend DevelopmentBigCacheFastcache
0 likes · 10 min read
Local Cache Solutions in Golang: A Comprehensive Guide to Open-Source Components
360 Smart Cloud
360 Smart Cloud
Oct 29, 2021 · Backend Development

Deep Dive into FreeCache: Architecture, Zero GC, High Concurrency, and Approximate LRU

This article analyzes the Go‑implemented FreeCache library, detailing its project features, internal data structures, zero‑GC design, segment‑based locking for high‑concurrency thread‑safe access, the set operation workflow, index expansion, and its approximate LRU eviction strategy.

ConcurrencyData StructuresFreeCache
0 likes · 12 min read
Deep Dive into FreeCache: Architecture, Zero GC, High Concurrency, and Approximate LRU