English | 中文
ring_buf
It is a high-performance ring cache built from an array.
ring_buf
Integrated array expansion, scaling, and other functions.
- High-performance Based on the principle of write priority to ensure high throughput
- built-in memory pool
- Integrate
ring_buf
to expand and shrink, efficient, reusable and auto-scalable memory - State control read and write, make read and write execution ☞ a line
ring_buf
is available as a Go module and we highly recommend that you use ring_buf
via Go Modules, with Go 1.11 Modules enabled (Go 1.11+), you can just simply add import "github.com/byfengfeng/ring_buf"
to the codebase and run go mod download/go mod tidy
or go [build|run|test]
to download the necessary dependencies automatically.
go get -u github.com/byfengfeng/ring_buf