Cloudflare’s Pingora Framework Gets Open Source

With nearly a quadrillion requests handled, Cloudflare's Pingora steps into the open-source world to benefit the Internet.

In September 2022, we shared that Cloudflare was working on its own custom solution called Pingora to power its reverse proxy needs. Plans were also laid out to open source it in the future. Well, that future has arrived, and Pingora is now open-source!

In an exciting move, Cloudflare has announced the open-sourcing of Pingora, an in-house built advanced Rust framework pivotal in powering the services that manage a significant volume of internet traffic worldwide under the Apache License version 2.0.

And who knows better than Cloudflare when it comes to managing huge traffic volumes? For your information, they handle more than 10% of all HTTP/HTTPS world Internet traffic. Moreover, the Cloudflare network globally serves over 25 million HTTP requests each second. Those are pretty impressive numbers.

Pingora, as detailed in Cloudflare’s recent communications, is an asynchronous, multithreaded Rust framework designed to facilitate the development of HTTP proxy services. It has demonstrated its robustness and scalability by handling nearly a quadrillion internet requests across Cloudflare’s extensive network.

How Pingora works?
Image credits: Cloudflare

The framework is now being shared with the wider community, aiming to foster a more secure, efficient, and resilient internet beyond Cloudflare’s infrastructure.

The initiative to open source Pingora, in collaboration with the Internet Security Research Group’s Prossimo project, aligns with the increasing recognition of the importance of memory safety in software development. In this area, the Rust programming language excels.

By providing a memory-safe framework, Cloudflare minimizes the risk of security vulnerabilities and enhances overall productivity in developing new features.

Pingora stands out for its versatility, offering libraries and APIs that support a wide range of protocols, including HTTP/1, HTTP/2, TLS, and TCP/UDP. Its capabilities extend beyond proxying, encompassing customizable load balancing, failover strategies, and compliance with security standards.

For those prioritizing security and performance or requiring advanced customization in their services, Pingora presents a compelling solution. Its design facilitates a more memory-safe alternative to traditional C/C++ services and efficiency gains that are particularly beneficial for performance-sensitive applications.

But the framework’s open-sourcing is just the beginning. Cloudflare envisions Pingora’s adoption for building various internet services, with future collaborations to expand its reach and applicability. However, it’s important to note that API stability is not yet guaranteed, and current support is focused on Unix-based operating systems.

For further details, check out Cloudflare’s official announcement. You can also find the source code on the project’s GitHub page, which is now available to the public.

Bobby Borisov

Bobby Borisov

Bobby, an editor-in-chief at Linuxiac, is a Linux professional with over 20 years of experience. With a strong focus on Linux and open-source software, he has worked as a Senior Linux System Administrator, Software Developer, and DevOps Engineer for small and large multinational companies.

Think You're an Ubuntu Expert? Let's Find Out!

Put your knowledge to the test in our lightning-fast Ubuntu quiz!
Ten questions to challenge yourself to see if you're a Linux legend or just a penguin in the making.

1 / 10

Ubuntu is an ancient African word that means:

2 / 10

Who is the Ubuntu's founder?

3 / 10

What year was the first official Ubuntu release?

4 / 10

What does the Ubuntu logo symbolize?

5 / 10

What package format does Ubuntu use for installing software?

6 / 10

When are Ubuntu's LTS versions released?

7 / 10

What is Unity?

8 / 10

What are Ubuntu versions named after?

9 / 10

What's Ubuntu Core?

10 / 10

Which Ubuntu version is Snap introduced?

The average score is 68%

Leave a Reply

Your email address will not be published. Required fields are marked *