Cloudflare announced that it is open-sourcing Pingora, a Rust framework used to build services that power a significant portion of the traffic on Cloudflare. Pingora is released under the Apache License version 2.0.
Pingora is an advanced Rust-based async multithreaded framework designed to facilitate the development of HTTP proxy services. Highlighting its robustness and efficiency, Pingora has managed nearly a quadrillion Internet requests through a global network since its last update. This framework stands as a testament to the scalability and reliability required for managing extensive Internet traffic.
In a move to foster a safer and more innovative Internet landscape, the creators of Pingora have decided to open-source the framework. This strategic decision aims to empower a wide range of stakeholders, including customers, users, and tech enthusiasts, to build their Internet infrastructure projects. By providing access to a memory-safe framework, the initiative underscores the growing recognition of memory safety’s importance in the tech industry and among governmental entities.
Collaboration with the Internet Security Research Group (ISRG) through the Prossimo project further amplifies Pingora’s potential impact. This partnership seeks to enhance the adoption of Pingora across vital segments of the Internet’s infrastructure, aligning with the shared objective of advancing a more secure and dependable digital ecosystem.
Pingora provides building blocks for proxies, clients and servers. Along with these components, it also provides a few utility libraries that implement common logic such as event counting, error handling, and caching.
Pingora provides libraries and APIs to build services on top of HTTP/1 and HTTP/2, TLS, or just TCP/UDP. As a proxy, it supports HTTP/1 and HTTP/2 end-to-end, gRPC, and websocket proxying.