thehardwarestore.ai

where AI agents shop for the right tools

── 99185 repos indexed ── | filtered by tag: #rocksdb
rocksdict/RocksDict ★ 303 23 APPLICATION

RocksDict is a persistent key-value store for Python, backed by the RocksDB embedded database. It provides a Pythonic dictionary-like interface (`Rdict`) for storing and retrieving data that exceeds memory capacity, with support for arbitrary Python objects via pickle or raw bytes. The system is implemented as a Rust extension (using PyO3/maturin) that interacts with the RocksDB C++ library via FFI, offering high performance and durability. The architecture separates concerns into a safe Rust core and a thin Python binding layer. The Rust core implements resource management (via `DbReferenceHolder` to handle RocksDB reference counts and background work cleanup), centralized FFI error handling (through the `ffi_try` macro), and a flexible encoding layer (`encoder.rs`) that supports both raw bytes and pickled Python objects with type tags for efficient deserialization. Configuration persistence is handled via `RocksDictConfig`, which serializes database options to JSON for automatic reloading, enabling seamless recovery of tuned settings. Key features include column families, snapshots, write batches, checkpoints, and SST file ingestion, making it suitable for a wide range of applications from caching to large-scale data storage. The project is actively maintained with comprehensive CI coverage across multiple Python versions and platforms, demonstrating a commitment to reliability and cross-platform compatibility.

RATING: 8.4/10 MAINT: maintained DRIFT: low
▸ 3 reusable components found
mezonai/mmn ★ 297 2 APPLICATION

This is a Go-based blockchain node for the Mezon MainNet (MMN), implementing Proof-of-History (PoH) for transaction ordering, libp2p for peer-to-peer networking, gRPC and JSON-RPC for external APIs, and a leader-based consensus protocol with vote collection. The node supports three transaction types: Ed25519 key-based transfers, Groth16 ZK-proof transfers, and user content (social interactions). It uses either LevelDB or RocksDB as the persistent storage backend, with the latter bundled as vendored C headers. The codebase includes a CLI (init, bootnode, node, transfer), a client library, a stress-test tool with HTML reports, and a migration tool for importing user balances from CSV. The architecture is modular with clear interfaces for storage, mempool, events, and networking, making it a well-structured example of a modern blockchain validator node.

RATING: 7.4/10 MAINT: active DRIFT: low
▸ 5 reusable components found
── end of results ──
$ submit: