Pocket: ML Serving from the Edge
Open Access
- 8 May 2023
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 46-62
Abstract
One of the major challenges in serving ML applications is the resource pressure introduced by the underlying ML frameworks. This becomes a bigger problem at resource-constrained, multi-tenant edge server locations, where it is necessary to scale to a larger number of clients with a fixed resource envelope. Naive approaches which simply minimize the resource budget allocation of each application result in performance degradation that voids the benefits expected from operating at the edge. This paper presents Pocket - a new approach for serving ML applications in settings like the edge, based on a shared ML runtime backend as a service and lightweight ML application pocket containers. Key to realizing Pocket is use of lightweight IPC, support for cross-client isolation, and a novel resource amplification method which inlines resource reallocation with IPC. The latter ensures just-in-time assignment of the limited edge resources where they're most needed, thereby reducing contention effects and boosting overall performance and efficiency. Experimental evaluations demonstrate that Pocket can scale to 1.3--20× more clients with the same amount of resources while reducing response time by 20--80% compared to monolithic designs.Keywords
Funding Information
- National Science Foundation
- Semiconductor Research Corporation
This publication has 15 references indexed in Scilit:
- Why cloud applications are not ready for the edge (yet)2019
- Couper2019
- Towards Drone-sourced Live Video Analytics for the Construction Industry2019
- On Using the Intelligent Edge for IoT AnalyticsIEEE Intelligent Systems, 2017
- Mobile Edge Cloud System: Architectures, Challenges, and ApproachesIEEE Systems Journal, 2017
- GViM2009
- An overview of the Spring system2002
- Exokernel1995
- Active messages1992
- Protection in the Hydra Operating System1975