> ## Content Index
> Fetch the complete content index at: https://itsfoss.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# Nginx Challenger? Cloudflare's Pingora Rust Framework Goes Open-Source
- URL: https://itsfoss.com/news/cloudflare-pingora/
- Published: 2024-02-29T10:38:31.000Z
- Updated: 2024-02-29T10:39:39.000Z
- Description: A new tech takes aim at Nginx, now that it's open-source. So, is it better? What do you think?
- Author: Sourav Rudra
- Tags: Open Source, News, #Import 2025-11-08 21:15

Cloudflare is a popular name in the web industry. Over the years, it has grown to great heights by providing various services ranging from content delivery networks, DDoS mitigation, to providing a [free privacy-friendly replacement](https://itsfoss.com/cloudflare-captcha-replacement/) to the annoying CAPTCHA system.

Back in September 2022, they [unveiled](https://blog.cloudflare.com/how-we-built-pingora-the-proxy-that-connects-cloudflare-to-the-internet/?ref=itsfoss.com) a new HTTP [proxy server](https://en.wikipedia.org/wiki/Proxy%5Fserver?ref=itsfoss.com) called Pingora, brought in to replace their existing Nginx-powered infrastructure, with plans to open-source it.

A few years have passed since, and Cloudflare has finally made good on their claim by making Pingora open-source. 

Let's see what they have to offer:

**Suggested Read** 📖

[Cloudflare Unveils Free Privacy-Friendly Replacement to the Annoying CAPTCHA SystemCloudflare has finally come up with something that ends visual puzzles.![](https://news.itsfoss.com/content/images/size/w256h256/2022/08/android-chrome-192x192.png)It's FOSS NewsAnkush Das![](https://news.itsfoss.com/content/images/2023/10/cloudflare-privacy-friendly-captcha-system.png)](https://itsfoss.com/cloudflare-captcha-replacement/)

## Pingora: What to Expect?

![the pingora banner](https://itsfoss.com/content/images/2024/02/Pingora_Banner.jpg)

Released under [Apache License version 2.0](https://www.apache.org/licenses/LICENSE-2.0?ref=itsfoss.com), Pingora is Cloudflare's **Rust-based** async multithreaded framework that allows them to build HTTP proxy services with ease at scale.

They claim that Pingora has already handled “*nearly a quadrillion Internet requests*” across their global networks, and that **they are open-sourcing Pingora in a bid for a better, more secure internet** that expands beyond just their infrastructure.

To further Pingora's adoption, they are collaborating with the [Internet Security Research Group](https://www.abetterinternet.org/?ref=itsfoss.com) (ISRG) and the [Prossimo project](https://www.memorysafety.org/?ref=itsfoss.com) so that the most critical Internet infrastructure out there can take advantage of it.

You are maybe wondering; **why ditch** [**Nginx**](https://www.nginx.com/?ref=itsfoss.com)**?**

Well, **Cloudflare had to switch from Nginx owing to the glaring issues** it had when they began to grow. The need for a modern, faster, and memory safe alternative to Nginx was the need of the hour back then.

That is when Cloudflare stepped up and started developing their own solution in the form of Pingora. When they introduced it to the public, they showed how it was better than their old service, which was based on Nginx equipped with various fixes and workarounds.

On production loads, **Pingora was able to consume 70% less CPU and 67% less memory** with the same traffic load compared to their previous implementation. They also found that Pingora could handle HTTP requests faster than their Nginx-based service.

Not just the performance gains, and memory-safety features of Rust, Pingora also comes with libraries that are post-quantum secure. So, plenty of benefits!

💡

Nginx handles web requests using a multiprocess approach, and Pingora handles it using multithreading. This gives an edge to the Cloudflare's solution.

## Want to check it out?

Before you do, keep in mind that Pingora is a library and toolkit that Cloudflare says is **in the early stages of development**, and is still yet to have a 1.0 release.

They also say that **they cannot guarantee the stability of the API** and they will be constantly introducing changes to improve it, with **support for non-Unix operating systems not planned** as of now.

For those who were looking for a ready-made web service solution that they could just plop into their existing infrastructure will have to wait, as it will take some time for the collaboration between ISRG and Cloudflare to bear results.

You can find source code for Pingora on its official [GitHub repo](https://github.com/cloudflare/pingora?ref=itsfoss.com) to experiment with it. The repo consists of libraries and APIs that can be used to build services on top of *HTTP/1*, *HTTP/2*, *TLS*, and *TCP*/*UDP*.

[Pingora (GitHub)](https://github.com/cloudflare/pingora?ref=itsfoss.com)

If you are interested in contributing to the code, you also check out the [contribution guide](https://github.com/cloudflare/pingora/blob/main/.github/CONTRIBUTING.md?ref=itsfoss.com) and the [issue tracker](https://github.com/cloudflare/pingora/issues?ref=itsfoss.com).

For more details about how Pingora works, and the technical details, I strongly suggest you give the [announcement blog](https://blog.cloudflare.com/pingora-open-source?ref=itsfoss.com) a read.

*💬 What do you think? The good-old Nginx to be replaced with Pingora in the near future? Share your thoughts in the comments.*