News for hackers. Stuff that matters.
Re:Pingora, the proxy that connects Cloudflare to the Internet by lossolo on Wednesday September 14, 2022 @06:56PM (#32844584)
Interesting, do you do a lot of processing in Golang or basically you just use it as a wrapper around sendfile[1] ?

1. https://man7.org/linux/man-pages/man2/sendfile.2.html

Re:Pingora, the proxy that connects Cloudflare to the Internet by totallyunknown on Thursday September 15, 2022 @03:35AM (#32848439)
We can't use sendfile since all the traffic is HTTPS. Sendfile can only be used if we can use KTLS. Internally we have some kind of cache hierarchy for video objects, these files are transferred out via Sendfile, but the performance gain here is negligible.
Re:Pingora, the proxy that connects Cloudflare to the Internet by costela on Thursday September 15, 2022 @03:48AM (#32848578)
and yes: the proxy does have some intelligence around "just" forwarding requests. Mostly caching related, but also some upstream routing decisions and a ton of observability.