qmetrics.net

Roaring

Go implementation of compressed Roaring bitmap sets

DatabasesDesktop/CLI app

This package implements Roaring bitmaps in Go for fast set operations on integer identifiers. Serialized bitmaps can interoperate with Java and C/C++ Roaring implementations.

Overview

Roaring bitmaps compress sets of unsigned integers while keeping fast membership checks and bitwise set operations. This Go library implements that structure for use in search indexes, databases, analytics, and other code that stores large document or row ID sets.

Data is split into 65,536-wide chunks, each stored as an uncompressed bitmap, sorted integer list, or run list depending on density. That layout supports random access within a chunk and often speeds intersections and unions compared with older run-length-encoded bitset formats.

The Go API covers standard set algebra, serialization, and optional 64-bit integer variants. Bitmap files produced with the standard 32-bit format can be exchanged with the Java and C/C++ Roaring libraries. Production users cited in the project include search, time-series, and observability stacks.

Callers install the module with Go tooling. Documentation covers examples, size bounds, run-length optimization, goroutine safety expectations, and benchmarking. Dependencies are pulled automatically when fetching the package with tests enabled.

Key features

  • Compressed integer set storage
  • Fast intersection, union, and difference
  • Cross-language 32-bit serialization
  • Optional 64-bit roaring64 variant
  • Run-length container optimization
  • Binary-compatible with Java and C++ ports
  • Documented serialization size bounds
  • Benchmarks and fuzz testing support

Use cases

  • Inverted indexes in search engines
  • Filtering large ID sets in databases
  • Analytics bitmaps in observability pipelines
  • In-memory set operations in Go services
  • Exchanging bitmaps across language runtimes

Tags

Similar software

Supabase

Open-source Postgres platform with auth, APIs, and storage

Supabase bundles a dedicated Postgres database with authentication, auto-generated REST and GraphQL APIs, realtime, functions, file storage, and vector tooling.

★ 115.6k⟳ todayApache-2.0
Open Source Alternative to:FirebaseFirebase Realtime Database

Prometheus

Open-source metrics monitoring and time series database

Prometheus collects metrics from configured targets, evaluates rules, and can raise alerts. It stores time series data and exposes a query language called PromQL.

★ 67.9k⟳ yesterdayApache-2.0
Open Source Alternative to:PRTG Network Monitor

NocoDB

Self-hostable no-code database with spreadsheet interface

NocoDB turns Postgres, MySQL, SQLite, or a hosted database into editable tables with grid, kanban, form, gallery, and calendar views. Teams collaborate with roles, sharing, REST APIs, and workflow integrations.

★ 65.6k⟳ todaySource-available
DatabasesSelf-hostable

etcd

Raft-backed distributed consistent key-value store

etcd stores small critical configuration and coordination data for clusters. It exposes a gRPC API, tolerates failures via Raft, and ships with the etcdctl command-line client.

★ 52.7k⟳ 3 days agoApache-2.0
DatabasesSelf-hostable

DBeaver

Universal multi-platform database tool and SQL client

Free desktop client for developers and DBAs with SQL editing, data editing, ER diagrams, exports, and support for hundreds of JDBC or ODBC databases.

★ 52.6k⟳ todayApache-2.0
DatabasesDesktop/CLI app
Open Source Alternative to:DataGripNavicat+2

ClickHouse

Column-oriented real-time analytics database management system

ClickHouse is a column-oriented database for generating analytical reports in real time using SQL on large datasets.

★ 51.2k⟳ todayApache-2.0
Open Source Alternative to:Amazon Redshift