{"repo":"o1dstaRs/hocdb","free":true,"listed":false,"github":"https://github.com/o1dstaRs/hocdb","clone":"git clone https://github.com/o1dstaRs/hocdb.git","description":"The World's Most Performant (by any measurement) Time-Series Database","language":"Zig","stars":19,"topics":["metrics","monitoring","timeseries","tsdb","zig","ziglang"],"license":"MIT","category":"analytics","readme_excerpt":"HOCDB: Universal High-Performance Time-Series database library The World's Most Performant Time-Series Database. Built for speed. Built for scale. Built for victory. HOCDB is a high-performance, embedded time-series database library written in Zig. It provides strict schema enforcement, fixed-size records for O(1) access, and highly optimized SIMD aggregations. It is designed to be embedded directly into applications (like SQLite or LevelDB) rather than running as a standalone server. This library is built for high-frequency trading and other latency-sensitive time-series workloads. Features Fixed-Size Records : Data is stored in a binary format with fixed record sizes, enabling O(1) random access and eliminating parsing overhead. Append-Only Log : Sequential writes maximize disk I/O throughput. Zero-Copy Read : Data is loaded directly from disk into memory structures without deserialization. SIMD Aggregation : Statistical operations (min, max, sum, mean) utilization SIMD instructions for extreme speed. Ring Buffer Mode : Optional circular buffer support for constant-space usage. Cross-Language Support : Native bindings for C, C++, Python, Go, Node.js, and Bun. API Overview The HOCDB API is consistent across all supported languages. init(ticker, path, schema, config) : Open or create a database instance. append(record) : Write a single record to the database. flush() : Force buffered data to be written to disk. query(start, end, filters) : Retrieve raw records within a timest","default_branch":null,"files":null,"tree":[],"storefront":"/r/o1dstaRs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/o1dstaRs/hocdb/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}