Skip to main content

feox_server/
lib.rs

1//! FeOx-server: High-performance Redis-compatible server for FeOxDB
2//!
3//! This crate provides a Redis protocol-compatible server that uses FeOxDB
4//! as its storage engine, achieving sub-microsecond latencies.
5//!
6//! # Architecture
7//!
8//! - Thread-per-core model with CPU affinity
9//! - mio-based event loop for cross-platform async I/O
10//! - Zero-copy RESP protocol implementation
11//! - Lock-free data structures where possible
12
13/// Client registry for connection management
14pub mod client_registry;
15
16/// Watch registry for WATCH/MULTI/EXEC transactions
17pub mod watch_registry;
18
19/// Configuration management for the server
20pub mod config;
21
22/// Error types and result aliases
23pub mod error;
24
25/// Network layer for connection management
26pub mod network;
27
28/// Redis protocol (RESP) implementation
29pub mod protocol;
30
31/// Pub/Sub implementation
32pub mod pubsub;
33
34/// Core server implementation
35pub mod server;
36
37pub use client_registry::ClientRegistry;
38pub use config::Config;
39pub use error::{Error, Result};
40pub use server::Server;