Article 6QPAW A Good Day to Trie-Hard: Saving Compute 1% at a Time

A Good Day to Trie-Hard: Saving Compute 1% at a Time

by
janrinok
from SoylentNews on (#6QPAW)

owl writes:

https://blog.cloudflare.com/pingora-saving-compute-1-percent-at-a-time/

Cloudflare's global network handles a lot of HTTP requests - over 60 million per second on average. That in and of itself is not news, but it is the starting point to an adventure that started a few months ago and ends with the announcement of a new open-source Rust crate that we are using to reduce our CPU utilization, enabling our CDN to handle even more of the world's ever-increasing Web traffic.

Motivation

Let's start at the beginning. You may recall a few months ago we released Pingora (the heart of our Rust-based proxy services) as an open-source project on GitHub. I work on the team that maintains the Pingora framework, as well as Cloudflare's production services built upon it. One of those services is responsible for the final step in transmitting users' (non-cached) requests to their true destination. Internally, we call the request's destination server its "origin", so our service has the (unimaginative) name of "pingora-origin".

One of the many responsibilities of pingora-origin is to ensure that when a request leaves our infrastructure, it has been cleaned to remove the internal information we use to route, measure, and optimize traffic for our customers. This has to be done for every request that leaves Cloudflare, and as I mentioned above, it's a lot of requests. At the time of writing, the rate of requests leaving pingora-origin (globally) is 35 million requests per second.

Original Submission

Read more of this story at SoylentNews.

External Content
Source RSS or Atom Feed
Feed Location https://soylentnews.org/index.rss
Feed Title SoylentNews
Feed Link https://soylentnews.org/
Feed Copyright Copyright 2014, SoylentNews
Reply 0 comments