valyala/bytebufferpool
Anti-memory-waste byte buffer pool observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3724
- days_rel: n/a
- days_push: 774
- n_releases_24m: 0
Adoption not part of the score
1332 stars · 143 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Go library implementing a pool of byte buffers with anti-memory-waste protection, limiting memory loss from fragmentation to the maximum total size of concurrently used buffers. It is used by high-performance projects like fasthttp and quicktemplate.
Use cases
- reduce memory allocations in a high-throughput Go HTTP server
- reuse byte buffers to avoid garbage collection pressure
- pool buffers for fast serialization and templating workloads
- cut memory waste from buffer fragmentation in concurrent Go programs
When to choose
- your Go application allocates many short-lived byte buffers under concurrency
- you want a small, dependency-free, battle-tested buffer pool used by fasthttp
- GC pressure from buffer allocations is hurting performance
When to avoid
- you only need occasional buffer reuse where sync.Pool suffices
- your workload is single-threaded with tiny buffers and allocation cost is negligible
Facets
library · maturity stable
caching concurrency developer-tools developer-tools performance backend go cross-platform byte-buffer memory-pool object-pool memory-optimization go-library
1 source
- readme: https://github.com/valyala/bytebufferpool · fetched 2026-08-28 · 612e5d88046d
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| valyala/bytebufferpool | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="valyala/bytebufferpool")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem