David Haja, Zoltan Richard Turanyi and Laszlo Toka
Location, Proximity, Affinity – The key factors in FaaS
The Function-as-a-Service paradigm emerged not only as a pricing technique, but also as a programming model promising to simplify developing to the cloud. Interestingly, while placing functions across hosts under the service platform is believed to be flexible, currently the available platforms pay little attention to co-locate connected functions, or data with the respective processing function in order to improve performance. Even though the local function invocation and data access might be an order of magnitude faster than their remote intra-cloud counterparts. In this paper, we therefore propose a Function-asa- Service platform design that reaps the performance benefits of co-location. We build the platform on WebAssembly, a secure and flexible tool for efficient local function invocations, and on a distributed in-memory database, which allows arbitrary data placement. On top we advocate smart placement strategies for function executions and data, decoupled from the functions. Hence we envision good horizontal scaling of functions while keeping the experienced processing latency to that of a single machine case.
Please cite this paper the following way:
David Haja, Zoltan Richard Turanyi and Laszlo Toka, "Location, Proximity, Affinity – The key factors in FaaS", Infocommunications Journal, Vol. XII, No 4, December 2020, pp. 14-21. DOI: 10.36244/ICJ.2020.4.3