The 1.8µs Latency Barrier is Broken. HTTP-X is a zero-copy, io_uring-native transport layer that collapses the OSI model into a single hardware-offloaded reactive plane.
Traditional networking stacks are riddled with the "Abstraction Tax": syscall overhead, cache pollution, and non-deterministic scheduling jitter.
HTTP-X represents a Total Reset.
Built for the era of high-frequency trading and ultra-responsive edge computing, HTTP-X prioritizes Mechanical Sympathy—aligning software execution with the physical realities of the CPU, cache, and NIC.
- 0-RTT Predictive Push: Utilizing a Markov-weighted
LinearIntentTrieto push content before the client request is even fully parsed. - Hardware-Offload Plane: Leveraging
io_uringwithSQPOLLto eliminate kernel-user context switches. - SecureSlab Architecture: A hardware-protected memory geometry with HugeTLB-backed slots and
PROT_NONEguard pages.
flowchart TD
subgraph "Ingress Path"
UDP["UDP Packet (Client)"] --> Dispatcher["CoreDispatcher (Pinned)"]
end
subgraph "The Intelligence Plane"
Dispatcher --> Trie["PredictiveEngine (0-RTT Trie)"]
Trie -->|"Predict Success"| Packetizer["GsoPacketizer"]
end
subgraph "The Memory Plane"
Slab["SecureSlab (HugeTLB)"] -.->|"Zero-Copy Slot"| Packetizer
Template["HeaderTemplate"] -.->|"Procrustean Slot"| Packetizer
end
subgraph "Hardware Execution"
Packetizer --> Ring["io_uring (SQPOLL)"]
Ring --> NIC["NIC TX Queue"]
end
style UDP fill:#4A90D9,color:#fff
style NIC fill:#27AE60,color:#fff
style Slab fill:#8E44AD,color:#fff
style Ring fill:#D35400,color:#fff
| Metric | Measured | Target | Environment |
|---|---|---|---|
| First-Byte Latency | 1.8µs | < 10µs | Isolated Core + SQPOLL |
| Throughput | 17.2M ops/s | > 15M | 4-Core Worker Swarm |
| Memory Access | Zero Copy | Mandatory | SecureSlab (HugeTLB) |
| Cache Efficiency | O(1) Trie | Maximum | Aligned (64B) TrieNodes |
The HTTP-X workspace is partitioned to maximize cache locality and minimize build-time dependencies:
| Crate | Responsibility | Key Files |
|---|---|---|
| httpx-core | Shared protocols & SAI definitions | config.rs, engine.rs |
| httpx-dsa | Hardware-aware structures | slab.rs (Memory), trie.rs (Intent) |
| httpx-transport | The Mechanical Engine | dispatcher.rs (io_uring Ring) |
| httpx-cluster | Swarm synchronization | orchestrator.rs, gossip.rs |
| httpx-codec | Zero-copy packet builders | templates.rs (GSO) |
| httpx-crypto | In-place encryption | lib.rs (SAED) |
Ready to break the bottleneck?
- Quick Start: See docs/GETTING_STARTED.md for the 5-minute clone-to-benchmark flow.
- Architecture: Deep-dive into the docs/ARCHITECTURE.md technical specification.
- Contribute: View the full docs/CONTRIBUTING.md to join the Sovereign Project.
Distributed under the MIT License.