Hasty Briefsbeta

Bilingual

Show HN: AnuDB– Backed on RocksDB, 279x Faster Than SQLite in Parallel Workloads

a year ago
  • #database
  • #C++
  • #embedded
  • AnuDB is a lightweight, serverless document database for C++ applications, using MessagePack for JSON document serialization.
  • Built on RocksDB, AnuDB ensures atomicity, durability, and consistency, with adjustable memory/CPU usage for performance tuning.
  • Supports Docker and MQTT for containerized environments and real-time IoT data communication.
  • Features include embedded & serverless operation, JSON document storage, flexible querying, indexing, and transactional properties.
  • AnuDB offers high concurrency with 32 worker threads for MQTT requests, TLS security, and cloud MQTT broker compatibility.
  • Installation involves cloning the repository, building with CMake, and optional ZSTD compression support.
  • Provides a comprehensive API for database operations, including document CRUD, collection management, and querying.
  • Supports cross-compilation for embedded platforms and includes examples for quick start.
  • Performance tips include indexing frequently queried fields and using ZSTD compression on embedded devices.
  • Limitations include being embedded-only with no built-in replication or sharding.