Hertz is a high-performance HTTP framework for Go that helps developers build microservices.
The framework addresses the need for fast, correct microservice development by combining high performance with strong extensibility. It originated as a fork of fasthttp and draws inspiration from gin and echo, refined through internal use at ByteDance. Hertz uses a self-developed network library called Netpoll by default, which provides performance advantages over Go's standard net library in certain scenarios, particularly in QPS and latency metrics. The framework supports HTTP/1.1 and ALPN protocols natively and allows custom protocol parsing logic through its layered architecture.
Hertz suits teams building microservices in Go where both performance and customization matter. The framework prioritizes developer experience alongside speed, actively incorporating user feedback to improve usability. Its layered design enables extensive customization through provided interfaces and default implementations that users can extend or replace. The project explicitly targets scenarios where internal customization requirements are important, making it particularly relevant for organizations with specific operational needs rather than those seeking a general-purpose framework.
The project maintains active development with regular updates addressing user feedback and framework improvements. The team continues to expand capabilities, with additional features planned for future releases beyond the stable functionality currently open-sourced. Development activity shows responsiveness to community input, reflected in the iterative refinement of both performance characteristics and user-facing APIs.