e-cache

Crates.ioe-cache
lib.rse-cache
version0.1.0
created_at2025-07-20 13:11:51.815435+00
updated_at2025-07-20 13:11:51.815435+00
descriptionedge-friendly kv database
homepage
repositoryhttps://github.com/oswaldoooo/e-cache
max_upload_size
id1761046
size26,064
Oswaldoooo! (oswaldoooo)

documentation

https://github.com/oswaldoooo/e-cache

README

E-Cache

e-cache is a lightweight, high-performance key-value (KV) store designed for edge computing environments. It combines embedded KV storage with message queues to achieve eventual consistency and supports a variety of atomic operations for int64 values and bitwise manipulation.


✨ Features

  • Embedded Local Storage: Powered by a high-performance embedded KV engine (e.g., RocksDB) to provide low-latency local access.
  • 🔁 Message Queue-Based Eventual Consistency: All write operations are broadcast through a message queue (e.g., Kafka), allowing consumers to replay and reconstruct the KV state.
  • 🧮 Atomic Operations Supported:
    • Incr, Decr: Atomic addition and subtraction for int64
    • Multi, Divide: Atomic multiplication and division
    • Or, And, Xor: Atomic bitwise operations
    • CompareAndSwap (CAS): Atomic compare-and-swap for consistency control
  • 📦 Edge-Friendly: Lightweight design suitable for edge gateways, IoT devices, and other resource-constrained scenarios.
  • 🔧 Modular Architecture: Pluggable backends and message systems, easy to extend or embed into larger platforms.
Commit count: 0

cargo fmt