Today, Fastly announced a $40M commitment of free CDN, compute, and security services to the Linux Foundation’s ecosystem of maintainers, furthering our shared mission of sustaining free and open source software. To celebrate, we wanted to highlight an essential component of the Fastly platform and part of the Linux Foundation’s original raison d’être: the Linux kernel.
When we launched Fastly 13 years ago, our founders were fueled by a vision to create a radically different kind of platform—faster and more efficient than its predecessors, utilizing specific hardware and a foundation built on open source software. The tools they reached for? SSDs, Varnish, and the Linux kernel.
Our founders opted for open source, like the Linux kernel, whenever possible for the same reasons anyone does. We could quickly fix bugs without needing to call a support line or wait on a ticket. We could change the kernel’s code so that it was even better suited to our needs. Perhaps one of the most important reasons is that we could not only stand on the shoulders of giants but contribute alongside them, too. Throughout the Linux Foundation’s almost 25-year history, the organization has provided vital support and resources to the maintainers and contributors that build some of the most important and impactful technologies of our time. As of 2023, the Linux Foundation is home to over 1,000 active projects and foundations ranging in focus from cloud computing and web development to visual effects and IoT devices.
The open source projects Fastly uses and the foundations we partner with are vital to Fastly’s mission and success. Here's an unscientific list of projects and organizations supported by the Linux Foundation that we use and love: The Linux Kernel, Kubernetes, containerd, eBPF, Falco, OpenAPI Initiative, ESLint, Express, Fastify, Lodash, Mocha, Node.js, Prometheus, Jenkins, OpenTelemetry, Envoy, etcd, Helm, osquery, Harbor, sigstore, cert-manager, Cilium, Fluentd, Keycloak, Open Policy Agent, Coalition for Content Provenance and Authority (C2PA), Flux, gRPC, Strimzi, Thanos, Linkerd, Let’s Encrypt, WebAssembly. And the list goes on!
Because the Foundation is a fundamental component of Fastly’s tech stack, we are delighted to give back to the community that maintains and supports it. We do that in several ways, the chief of which is our donation of free services to various projects under the Foundation. Since 2015, Fastly has served nearly 35,000 terabytes to Linux Foundation projects, including the Linux Kernel, Kubernetes, jQuery, and Jenkins. We’ve heard that the projects we support have done wonders for their peace of mind and the continued sustainability of their projects, so we’re recommitting to our existing partners and extending our commitment to any other projects or nonprofits that can benefit from our support.
We contribute back to the Linux ecosystem in other ways, too. Beyond our in-kind donation, we encourage our employees to submit bug fixes upstream and employ several engineers who contribute to various projects, including Linux kernel contributor Joe Damato. His contributions are focused on improving the granularity and ease of customizing and optimizing the data path, among other things:
- Recently, Joe upstreamed a major and widely anticipated new interface to the kernel, allowing programs to control network socket busy polling behavior more simply and closely. This new interface allows Fastly and the open source community to build and control latency-sensitive programs far more easily.
- Joe recently upstreamed a change to the Mellanox mlx5 driver, which creates a mapping between hardware network queues on the device, their associated interrupt number, and the kernel’s internal NAPI ID. This change allows users to access this helpful information via a new netlink interface added to the kernel by Intel.
- Another recent highlight among Joe’s many contributions is a kernel change that allows users to set a custom flow hash on custom RSS contexts if the driver supports it. This change also allows network device driver maintainers to support this for their devices, providing users more flexibility in how network flows are mapped to device queues.
And as far as Fastly’s kernel goes, it’s laser-focused on instant speed. Suresh Bhogavilli is the distinguished engineer who leads our Edge Host Networking team, which is tasked with optimizing our kernel and reducing latency by every zeptosecond possible:
To significantly reduce round-trip time and improve customer connectivity to Fastly’s edge we developed our Precision Path and Fast Path Failover technologies. We use them to tune TCP window parameters per destination, improving TCP connectivity between caches at our own PoPs [Points of Presence]. Linux also helps power our ingress traffic engineering tool, called Harmonizer, which allows us to carry traffic to the PoP that is most optimal to serve that customer request.