$ show ArcadeData/arcadedb
ArcadeDB is a high-performance, multi-model database system supporting graph, document, key-value, time-series, vector, and full-text data models. It exposes multiple query languages (SQL, Cypher, Gremlin, GraphQL) and wire protocols (HTTP, Bolt, PostgreSQL, MongoDB, gRPC). The architecture is modular: a core engine (storage, indexing, query execution) with pluggable server plugins for protocols, replication (Raft-based HA), and observability. It features advanced indexing (LSM-tree, hash, vector quantization, sparse vectors, full-text BM25), time-series with PromQL and downsampling, and graph analytical views with CSR compression. Python bindings allow embedded use. The codebase demonstrates strong engineering with extensive use of interfaces, design patterns, comprehensive test coverage (including issue-specific regression tests), and automated CI/CD with performance benchmarks. It is actively maintained with low technical debt and a clean architecture.
The LLM identified 3 files worth highlighting for reuse:
Implements Delta-of-Delta encoding for time-series timestamps, a well-known compression technique from the Facebook Gorilla paper. It is a self-contained, isolated class that can be extracted and reused in any time-series storage system. Demonstrates non-obvious skill in handling integer overflow and edge cases in timestamp deltas.
Implements Simple8b integer compression, a variable-length encoding scheme that packs small integers into 64-bit words. Isolated and reusable for any project requiring efficient integer compression, such as columnar storage or inverted indexes. The code is clean and demonstrates understanding of bit packing and branchless operations.
A generic wrapper that adds DISTINCT semantics to any aggregation function. Uses a decorator pattern to track seen values and delegate aggregation. It is fully isolated (only depends on base function interfaces) and can be reused in any SQL/Cypher engine to implement DISTINCT aggregates without modifying existing functions.