awesome-repositories.com
Blog
awesome-repositories.com

Descubre los mejores repositorios open-source con nuestra búsqueda potenciada por IA.

ExplorarBúsquedas curadasAlternativas open-sourceSoftware autohospedableBlogMapa del sitio
ProyectoAcerca deCómo clasificamosPrensaServidor MCP
Aviso legalPrivacidadTérminos
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
cloudwego avatar

cloudwego/hertz

0
View on GitHub↗
7,279 estrellas·629 forks·Go·Apache-2.0·10 vistaswww.cloudwego.io↗

Hertz

Hertz is a high-performance Go HTTP framework designed for building scalable microservices, RESTful APIs, and AI applications. It functions as a high-performance web server and a communication framework for microservices, utilizing non-blocking I/O and zero-copy memory management to handle high-concurrency traffic.

The project distinguishes itself through a microservices communication toolkit that supports high-efficiency remote procedure calls via gRPC and Thrift protocols. It implements an asynchronous middleware engine based on an onion model, allowing for a pluggable request-response pipeline.

The framework covers a broad range of capabilities, including trie-based request routing, request parameter validation, and multi-format response rendering. It provides integrated service governance and discovery, observability tools for distributed tracing and metrics, and automated API documentation via the Swagger standard.

Developer productivity is supported through interface-driven code generation for service boilerplate and network-free unit testing for request handlers.

Features

  • High-Performance HTTP Servers - Provides a high-performance Go framework optimized for low-latency, high-throughput web service and RESTful API delivery.
  • Memory Reference Counting - Implements zero-copy memory management using reference counting to handle high-concurrency traffic with minimal memory overhead.
  • Kernel-Level Data Splicing - Uses zero-copy APIs to send and receive data between processes and the kernel, avoiding memory buffer duplication.
  • Interface Definition Code Generation - Generates server skeletons and client stubs from Thrift or Protobuf IDL files to ensure type safety.
  • Server Boilerplate Generators - Automatically generates server-side boilerplate code from API schema definitions to ensure type safety.
  • Thrift Service Implementations - Implements server-side service logic to process remote procedure calls using the Apache Thrift protocol.
  • High-Concurrency Networking - Utilizes non-blocking I/O and asynchronous calls to process massive volumes of concurrent network requests with minimal latency.
  • High-Performance Networking - Optimizes throughput and latency using non-blocking I/O, zero-copy data transfer, and customizable network libraries.
  • gRPC Service Implementations - Implements gRPC services for defining and executing high-efficiency remote procedure calls.
  • Reactor Pattern Event Distribution - Employs a reactor-based event loop to distribute network events to a worker pool for high-performance request handling.
  • URI Handlers - Matches URIs to handler functions using a high-performance routing tree with parameter matching.
  • Network Event Monitoring Schedulers - Implements a high-performance event monitoring scheduler to trigger asynchronous network I/O operations.
  • Asynchronous Middleware Engines - Implements an asynchronous middleware engine to process requests through a sequence of non-blocking functions.
  • Interceptor Middleware - Implements a pluggable pipeline for injecting cross-cutting concerns like authentication and logging into the request lifecycle.
  • Reference-Counted Memory Blocks - Uses memory blocks and reference counting to move data between the network and application without duplicating buffers.
  • Microservice Architectures - Provides a toolkit for building scalable backend systems with support for gRPC, Thrift, and service discovery.
  • Custom Middleware Implementations - Allows inserting custom processing steps before and after handlers using an onion-model architecture.
  • Go Web Frameworks - Acts as a high-performance Go web framework for building scalable microservices and AI applications.
  • Microservices Frameworks - Provides a comprehensive toolkit for high-efficiency remote procedure calls using gRPC and Thrift protocols.
  • Onion-Model Pipelines - Utilizes an onion-model architecture where requests and responses flow through concentric middleware layers.
  • REST API Frameworks - Provides a framework for mapping HTTP routes to handlers with integrated request validation and automated Swagger documentation.
  • Trie-Based Routing Engines - Employs a high-performance routing engine that organizes path patterns into trie structures for efficient URI matching.
  • HTTP Routing - Directs incoming HTTP traffic to specific handlers using static routes, parameter-based routes, and priorities.
  • AI Application Frameworks - Provides a structured framework to organize model logic and data processing for building AI-native applications.
  • Data Serialization and Parsing - Processes Thrift and Protobuf definitions for high-performance structured data serialization.
  • Graceful Shutdowns - Ensures clean termination by allowing all in-flight requests to complete before shutting down the server process.
  • Pluggable Transport Layers - Provides a modular interface for swapping underlying network transport libraries and protocols to optimize performance.
  • Connection Multiplexing - Simulates multiple virtual connections over a single persistent connection to reduce scheduling overhead and increase efficiency.
  • Custom Protocol Implementations - Provides a pluggable interface to register and implement custom communication protocols.
  • Dynamic Service Discovery - Provides mechanisms for mapping logical service names to physical network addresses to enable dynamic microservices communication.
  • Protocol Version Selectors - Supports various versions of the HTTP protocol and allows for custom protocol extensions.
  • Multi-Protocol - Supports multiple communication protocols simultaneously to enable interaction across different service architectures.
  • Service Governance - Coordinates service discovery, registration, and load balancing to maintain stability within a microservices environment.
  • Incremental Stream Processing - Processes large payloads and proxy requests incrementally to reduce memory overhead and latency.
  • Request Authentication Middleware - Features an asynchronous middleware engine that intercepts requests to enforce authentication via tokens and API keys.
  • Automated API Documentation - Automatically generates technical API specifications and documentation from source code using the Swagger standard.
  • Reactor Pattern Event Loops - Distributes network events to a worker pool using a reactor-based event monitoring scheduler to handle high concurrency.
  • Request Interception Middleware - Implements architectural patterns for routing traffic through security and logging layers before core business processing.
  • Request Middleware - Provides reusable middleware components to handle cross-cutting concerns like logging and error recovery.
  • Request Validation - Provides utilities for validating incoming HTTP request parameters, queries, and cookies against defined schemas.
  • Application Performance Monitoring - Tracks execution metrics to monitor the health and response times of service requests.
  • Distributed Tracing - Traces requests across microservice boundaries using telemetry standards to identify system bottlenecks.
  • Metric and Performance Monitors - Monitors system health by tracking metrics, traces, and logs using industry-standard tools.
  • Observability Tool Integrations - Injects custom providers for logging, tracing, and metrics via a standardized observability interface.
  • Service Observability Integrations - Integrates distributed tracing, performance metrics, and structured logging to monitor the health of Go services.
  • Custom Log Writers - Provides a custom logging interface to control how system events and errors are recorded and formatted.
  • Network-Bypass - Tests request handlers using internal interfaces to bypass the network stack and increase execution speed.
  • Payload Type Mapping - Maps incoming request payloads to structured data types for consistent processing and validation.
  • Response Formatting - Produces output in multiple formats, including JSON, HTML, and Protobuf, to meet diverse client requirements.
  • Response Rendering - Transforms internal data structures into formatted responses for delivery via a unified rendering interface.
  • Static Asset Serving - Provides web server capabilities optimized for delivering static files and assets directly to clients.
  • Frameworks de Microservicios - High-performance HTTP framework for microservices.

Historial de estrellas

Gráfico del historial de estrellas de cloudwego/hertzGráfico del historial de estrellas de cloudwego/hertz

Búsqueda con IA

Explora más repositorios increíbles

Describe lo que necesitas en lenguaje sencillo: la IA clasifica miles de proyectos open-source curados por relevancia.

Start searching with AI

Alternativas open-source a Hertz

Proyectos open-source similares, clasificados según cuántas características comparten con Hertz.
  • line/armeriaAvatar de line

    line/armeria

    5,115Ver en GitHub↗

    Armeria is a Netty-based microservice framework used for building high-performance asynchronous services. It functions as a multi-protocol RPC server capable of exposing gRPC, Thrift, and REST services on a single unified port. The project is distinguished by its ability to run diverse communication protocols simultaneously and its integrated RPC debugging web console, which allows for the discovery and invocation of remote procedure calls via JSON. It also includes a gRPC to JSON transcoder to enable web client compatibility with Protobuf services. The framework provides a comprehensive sui

    Java
    Ver en GitHub↗5,115
  • aws-powertools/powertools-lambda-pythonAvatar de aws-powertools

    aws-powertools/powertools-lambda-python

    3,267Ver en GitHub↗

    AWS Powertools for Python is a utility framework designed for building production-ready Python functions on AWS Lambda. It provides a comprehensive suite of tools for observability, event parsing, routing, and idempotency management to streamline the development of serverless applications. The project distinguishes itself through specialized capabilities for event-driven architectures and AI agent orchestration. It enables the implementation of AI agents by exposing functions as tools via OpenAPI schemas and managing conversation states. Additionally, it features an idempotency library that p

    Pythonawsaws-lambdalambda
    Ver en GitHub↗3,267
  • go-kratos/kratosAvatar de go-kratos

    go-kratos/kratos

    25,743Ver en GitHub↗

    Kratos is a toolkit for building cloud-native microservices in Go. It provides a comprehensive suite of framework primitives, including a dedicated toolset for API-first development using Protobuf to generate server and client code for gRPC and HTTP. The project is distinguished by its pluggable service infrastructure, which allows for the swapping of configuration stores, service registries, and data encoding formats. It utilizes a composable middleware pipeline to inject cross-cutting concerns such as authentication, request validation, and circuit breaking into the service flow. The frame

    Goaiarchitecturecloud-native
    Ver en GitHub↗25,743
  • connectrpc/connect-goAvatar de connectrpc

    connectrpc/connect-go

    3,963Ver en GitHub↗

    Connect-go is a library for building type-safe remote procedure call services that are wire-compatible with gRPC and HTTP. It provides a Go implementation of Protocol Buffers for structured data exchange, enabling the creation of multi-protocol RPC servers and generated type-safe clients. The framework is distinguished by its polyglot protocol support, allowing a single server handler to serve requests using several different protocols simultaneously over HTTP. This includes the ability to toggle between different transport protocols for the same service and the use of pluggable content negot

    Go
    Ver en GitHub↗3,963
Ver las 30 alternativas a Hertz→

Preguntas frecuentes

¿Qué hace cloudwego/hertz?

Hertz is a high-performance Go HTTP framework designed for building scalable microservices, RESTful APIs, and AI applications. It functions as a high-performance web server and a communication framework for microservices, utilizing non-blocking I/O and zero-copy memory management to handle high-concurrency traffic.

¿Cuáles son las características principales de cloudwego/hertz?

Las características principales de cloudwego/hertz son: High-Performance HTTP Servers, Memory Reference Counting, Kernel-Level Data Splicing, Interface Definition Code Generation, Server Boilerplate Generators, Thrift Service Implementations, High-Concurrency Networking, High-Performance Networking.

¿Qué alternativas de código abierto existen para cloudwego/hertz?

Las alternativas de código abierto para cloudwego/hertz incluyen: line/armeria — Armeria is a Netty-based microservice framework used for building high-performance asynchronous services. It functions… aws-powertools/powertools-lambda-python — AWS Powertools for Python is a utility framework designed for building production-ready Python functions on AWS… connectrpc/connect-go — Connect-go is a library for building type-safe remote procedure call services that are wire-compatible with gRPC and… go-kratos/kratos — Kratos is a toolkit for building cloud-native microservices in Go. It provides a comprehensive suite of framework… dodyg/practical-aspnetcore — This project is a comprehensive sample library and implementation guide for ASP.NET Core. It provides a collection of… prefecthq/fastmcp — FastMCP is a Python framework designed for building servers that expose functions, resources, and prompts to AI models…