SPRIGHT: Extracting the Server from Serverless Computing! High-performance ebpf-based Event-driven, Shared-memory Processing

Shixiong Qi, Leslie Monis, Ziteng Zeng, Ian Chin Wang, K. K. Ramakrishnan

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

48 Scopus citations

Abstract

Serverless computing promises an efficient, low-cost compute capability in cloud environments. However, existing solutions, epitomized by open-source platforms such as Knative, include heavyweight components that undermine this goal of serverless computing. Additionally, such serverless platforms lack dataplane optimizations to achieve efficient, high-performance function chains that facilitate the popular microservices development paradigm. Their use of unnecessarily complex and duplicate capabilities for building function chains severely degrades performance. 'Cold-start' latency is another deterrent. We describe SPRIGHT, a lightweight, high-performance, responsive serverless framework. SPRIGHT exploits shared memory processing and dramatically improves the scalability of the dataplane by avoiding unnecessary protocol processing and serialization-deserialization overheads. SPRIGHT extensively leverages event-driven processing with the extended Berkeley Packet Filter (eBPF). We creatively use eBPF's socket message mechanism to support shared memory processing, with overheads being strictly load-proportional. Compared to constantly-running, polling-based DPDK, SPRIGHT achieves the same dataplane performance with 10× less CPU usage under realistic workloads. Additionally, eBPF benefits SPRIGHT, by replacing heavyweight serverless components, allowing us to keep functions 'warm' with negligible penalty. Our preliminary experimental results show that SPRIGHT achieves an order of magnitude improvement in throughput and latency compared to Knative, while substantially reducing CPU usage, and obviates the need for 'cold-start'.

Original languageEnglish
Title of host publicationSIGCOMM 2022 - Proceedings of the ACM SIGCOMM 2022 Conference
Pages780-794
Number of pages15
ISBN (Electronic)9781450394208
DOIs
StatePublished - Aug 22 2022
Event2022 Conference of the ACM Special Interest Group on Data Communication, SIGCOMM 2022 - Amsterdam, Netherlands
Duration: Aug 22 2022Aug 26 2022

Publication series

NameSIGCOMM 2022 - Proceedings of the ACM SIGCOMM 2022 Conference

Conference

Conference2022 Conference of the ACM Special Interest Group on Data Communication, SIGCOMM 2022
Country/TerritoryNetherlands
CityAmsterdam
Period8/22/228/26/22

Bibliographical note

Publisher Copyright:
© 2022 Owner/Author.

Keywords

  • eBPF
  • event-driven
  • function chain
  • serverless

ASJC Scopus subject areas

  • Software
  • Computer Networks and Communications
  • Hardware and Architecture

Fingerprint

Dive into the research topics of 'SPRIGHT: Extracting the Server from Serverless Computing! High-performance ebpf-based Event-driven, Shared-memory Processing'. Together they form a unique fingerprint.

Cite this