Ultra-Low Latency Zero-Allocation Gateway & Graph Centrality Pipeline
A high-performance hybrid systems engine designed for maximum throughput at the edge. Combines a non-blocking multi-core C HTTP gateway with a low-latency Rust graph centrality execution engine.
[ Client Traffic ]
│
▼
┌─────────────────────────────────────────┐
│ C Gateway (gateway_engine.c) │
│ - SO_REUSEPORT (Kernel Load Balancer) │
│ - Epoll Edge-Triggered (EPOLLET) │
│ - Core Affinity Pinned Workers │
└──────────────────┬──────────────────────┘
│ (Zero-Copy Transfer)
▼
┌─────────────────────────────────────────┐
│ Rust Pipeline (src/main.rs) │
│ - Centrality Algorithms │
│ - Graph Topology Data Processing │
└──────────────────┴──────────────────────┘
Performance Profile
MetricAethergraph (C + Rust)Standard Async Runtime
Memory Overhead0 bytes / request (Static Pool)Dynamic Heap Overhead (malloc/GC)
Kernel Load DistributionSO_REUSEPORT Multi-CoreSingle-Thread / Reverse Proxy
Context SwitchingLocked via Core AffinityOS Scheduler Dependent
Event LoopEdge-Triggered (EPOLLET)Level-Triggered / Dynamic Dispatch
1. Build and Run
Bash
# Build C Gateway
gcc -O3 -pthread gateway_engine.c -o gateway_engine
./gateway_engine
# Run Rust Core
cargo run --release
2. Run Automated Benchmark Suite
Bash
./benchmark.sh
This repository utilizes GitHub Actions to continuously verify C and Rust code compilation across platforms on every commit.
License
Distributed under the MIT License. See LICENSE for details.