{"id":28942254,"url":"https://github.com/peterbourgon/rb","last_synced_at":"2025-10-14T05:12:01.037Z","repository":{"id":291424055,"uuid":"965566695","full_name":"peterbourgon/rb","owner":"peterbourgon","description":"High-performance in-memory ring buffer","archived":false,"fork":false,"pushed_at":"2025-06-11T18:23:56.000Z","size":20,"stargazers_count":22,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-11T20:07:59.720Z","etag":null,"topics":["golang","high-performance","metallica","ring-buffer","ringbuffer"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/peterbourgon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-13T12:58:13.000Z","updated_at":"2025-06-11T18:24:00.000Z","dependencies_parsed_at":"2025-05-27T03:23:49.867Z","dependency_job_id":"59b72f35-13ca-48d6-b551-a9705b5e85b9","html_url":"https://github.com/peterbourgon/rb","commit_stats":null,"previous_names":["peterbourgon/rb"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/peterbourgon/rb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterbourgon%2Frb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterbourgon%2Frb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterbourgon%2Frb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterbourgon%2Frb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/peterbourgon","download_url":"https://codeload.github.com/peterbourgon/rb/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterbourgon%2Frb/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261403119,"owners_count":23153217,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["golang","high-performance","metallica","ring-buffer","ringbuffer"],"created_at":"2025-06-23T03:04:41.744Z","updated_at":"2025-10-14T05:12:01.030Z","avatar_url":"https://github.com/peterbourgon.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rb [![Go Reference](https://pkg.go.dev/badge/github.com/peterbourgon/rb.svg)](https://pkg.go.dev/github.com/peterbourgon/rb) [![GitHub Release](https://img.shields.io/github/v/release/peterbourgon/rb?style=flat-square)](https://github.com/peterbourgon/rb/releases) [![Build Status](https://github.com/peterbourgon/rb/actions/workflows/test.yaml/badge.svg)](https://github.com/peterbourgon/rb/actions/workflows/test.yaml)\n\nIn-memory ring buffer optimized for high-throughput write-heavy workloads.\n\nBuffers are fully allocated during construction, so adds are zero-alloc and reasonably fast.\n\n```\ngoos: darwin\ngoarch: arm64\npkg: github.com/peterbourgon/rb\ncpu: Apple M3 Pro\nBenchmarkRingBuffer/cap=100/Add-11      267911362   4.408 ns/op   0 B/op   0 allocs/op\nBenchmarkRingBuffer/cap=1000/Add-11     270116073   4.446 ns/op   0 B/op   0 allocs/op\nBenchmarkRingBuffer/cap=10000/Add-11    267690060   4.456 ns/op   0 B/op   0 allocs/op\nBenchmarkRingBuffer/cap=100000/Add-11   269908416   4.450 ns/op   0 B/op   0 allocs/op\nBenchmarkRingBuffer/cap=1000000/Add-11  266172448   4.563 ns/op   0 B/op   0 allocs/op\n```\n\nIt's pretty self-explanatory. [See the documentation](https://pkg.go.dev/github.com/peterbourgon/rb) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeterbourgon%2Frb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeterbourgon%2Frb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeterbourgon%2Frb/lists"}