🌊 Water HTTP — TechEmpower Benchmarks
Water HTTP is a high-performance Rust web framework built and optimized for the TechEmpower Framework Benchmarks (TFB)
. It is designed to push the limits of speed, stability, and scalability using pure asynchronous Rust and Tokio’s runtime. Every part of the framework is hand-tuned to achieve predictable latency, minimal allocations, and efficient CPU utilization under extreme concurrency.
This repository contains the official benchmark implementations for all test types, including Plaintext, JSON serialization, Single query, Multiple queries, Fortunes, Database updates, and Cached queries.
⚡ Highlights
🚀 One of the fastest and most stable frameworks in the TechEmpower Benchmarks
🧵 Built entirely on Tokio’s asynchronous runtime — no io_uring or unsafe code
💾 Zero-copy I/O, preallocated buffers, and predictable memory layout
🔒 100% safe Rust with no hidden synchronization overhead
🧱 Designed for consistent high performance at scale
🧠 Architecture
Water HTTP is built around a fully asynchronous, event-driven architecture that leverages non-blocking I/O and efficient request processing. The system is designed to eliminate unnecessary locks and minimize latency even under heavy load.
[ tokio::net::TcpListener ]
↓
[ connection handler ]
↓
[ water::http::parser ]
↓
[ application logic ]
↓
[ response encoder ]
This approach ensures optimal throughput and minimal per-request overhead while keeping code simple and safe.
🧭 Mission
Water HTTP’s mission is to demonstrate how Rust’s async ecosystem can reach record-breaking performance without compromising simplicity, safety, or maintainability. It shows that carefully engineered async Rust can deliver unmatched speed and reliability in real-world workloads, setting a new standard for what modern web frameworks can achieve.