Back to projects

Redis-Rust

View Source
RustTokio

Redis Clone in Rust

This project is a high-performance key-value store inspired by Redis, built to understand the intricacies of database internals and asynchronous systems programming in Rust.

Core Capabilities

- RESP Protocol: Fully compliant Redis Serialization Protocol parser.

  • Async I/O: Leveraging Tokio for non-blocking network operations.
  • Commands: Supports GET, SET, PING, ECHO, and basic expiration (EX).
  • Concurrent Connections: Handles thousands of concurrent client connections efficiently.

    Technical Highlights

    - Implemented a custom frame decoder for the RESP protocol.

  • utilized Arc> for thread-safe shared state storage.
  • Explored Rust's ownership model in the context of high-concurrency network servers.

    This was a deep dive into low-level networking and the Rust async ecosystem.