Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/paultag/go-diskring
https://github.com/paultag/go-diskring
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/paultag/go-diskring
- Owner: paultag
- License: mit
- Created: 2019-11-06T03:33:55.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-03-16T05:14:37.000Z (almost 4 years ago)
- Last Synced: 2024-10-14T19:21:04.170Z (3 months ago)
- Language: Go
- Size: 56.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pault.ag/go/diskring
[![Go Reference](https://pkg.go.dev/badge/pault.ag/go/diskring.svg)](https://pkg.go.dev/pault.ag/go/diskring)
[![Go Report Card](https://goreportcard.com/badge/pault.ag/go/diskring)](https://goreportcard.com/report/pault.ag/go/diskring)pault.ag/go/diskring contains an implementation of a ring buffer, backed by a
file on the filesystem. This allows concurrent reads and writes by goroutines,
overwriting data as needed, oldest-first.This buffer does not have fixed sizes, rather, it enocdes the length with
the written data. Data is added and removed at the chunk level.