Tagged articles
3 articles
Page 1 of 1
Radish, Keep Going!
Radish, Keep Going!
Dec 6, 2024 · Backend Development

How BigCache Achieves Ultra‑Fast In‑Memory Caching in Go

This article explains how the Go library BigCache uses sharding, efficient hash functions, and memory‑optimised data structures to deliver high‑concurrency, low‑latency caching, while avoiding GC bottlenecks and providing practical code examples and performance benchmarks.

GoMemory Optimizationbigcache
0 likes · 12 min read
How BigCache Achieves Ultra‑Fast In‑Memory Caching in Go
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.

FastCacheFreeCacheOff-Heap Memory
0 likes · 10 min read
Local Cache Solutions in Golang: A Comprehensive Guide to Open-Source Components