Pingora Framework Debut

Cloudflare has announced the first release of the Pingora framework, designed to develop secure and high-performance network services in RUST. The proxy built with Pingora has been in use in the Cloudflare content delivery network for over a year, replacing Nginx and handling more than 40 million requests per second. The code is written in Rust and is published under the Apache 2.0 license.

The main features of Pingora include:

  • Support for HTTP/1 and HTTP/2 (with plans for HTTP/3), as well as the ability to create services using these protocols or UDP/TCP.
  • Multi-flow processing of requests in asynchronous mode.
  • Attachment of callback-cutters and filters to control various stages of request processing, enabling changes, redirections, blocking, and logging of requests and responses.
  • Support for GRPC and WebSocket.
  • Integration of load balancers.
  • Configuration changes without the need for restarts.
  • Update application code without breaking connections.
  • Failover capabilities for load switching in case of failures.
  • Integration with monitoring and logging systems such as Syslog, Prometheus, Sentry, and Opentelemetry.
  • TLS support using Openssl or Boringssl.
  • Ready-made Rust modules for creating HTTP proxies, working with network protocols, analyzing HTTP headers, handling traffic restrictions, load balancing, distributed KHETAMA hash, caching in RAM, and asynchronous timeout processing.
/Reports, release notes, official announcements.