Abstract
The Topology-aware Allocation Priority Policies (tAPP) language allows users of serverless platforms to orient the scheduling of their functions w.r.t. the topological properties of the available computation nodes. A tAPP-based platform can support multiple scheduling policies, which one would usually enforce via (brittle) ad-hoc multi-instance platform deployments.
In this paper, we present an extension of the Apache OpenWhisk serverless platform that supports tAPP-based scripts. We show that our extension does not negatively impact the performance of generic, non-topology-bound serverless scenarios, while it increases the performance of topology-bound ones.
This work has been partially supported by the research project FREEDA (CUP: I53D23003550006) funded by the framework PRIN 2022 (MUR, Italy), RTM &R (CUP: J33C22001170001) funded by the MUR National Recovery and Resilience Plan (European Union - NextGenerationEU) and the French ANR project SmartCloud ANR-23-CE25-0012.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
Notes
- 1.
- 2.
For reproducibility, we provide the list of the rejection criteria applied to all 63 non-AWS discarded projects at [1].
- 3.
In data-locality, min_memory has a slightly lower average than shared, but the latter has both lower variance and maximal latency.
References
tAPP-based openwhisk extension (2022). https://github.com/mattrent/openwhisk
Repository of rejected projects from wonderless (2022). https://github.com/mattrent/openwhisk-deploy-kube
Abad, C.L., Boza, E.F., Eyk, E.V.: Package-aware scheduling of faas functions. In: Proceedings of ACM/SPEC ICPE, pp. 101–106. ACM (2018). https://doi.org/10.1145/3185768.3186294
Akkus, I.E., et al.: SAND: towards high-performance serverless computing. In: Proceedings of USENIX/ATC, pp. 923–935 (2018)
Anderson, J.C., Lehnardt, J., Slater, N.: CouchDB: the definitive guide: time to relax. " O’Reilly Media, Inc." (2010)
Armbrust, M., et al.: Above the clouds: a Berkeley view of cloud computing. University of California, Berkeley, Rep. UCB/EECS 28(13), 2009 (2009)
Banaei, A., Sharifi, M.: Etas: predictive scheduling of functions on worker nodes of apache openwhisk platform. J. Supercomput. (2021). https://doi.org/10.1007/s11227-021-04057-z
Bernstein, D.: Containers and cloud: from lxc to docker to kubernetes. IEEE Cloud Comput. 1(3), 81–84 (2014)
De Palma, G., Giallorenzo, S., Mauro, J., Trentin, M., Zavattaro, G.: A declarative approach to topology-aware serverless function-execution scheduling. In: 2022 IEEE International Conference on Web Services, ICWS 2022, Barcelona, Spain, July 11–15, 2022. IEEE (2022)
Eskandani, N., Salvaneschi, G.: The wonderless dataset for serverless computing. In: Proceedings of IEEE/ACM MSR, pp. 565–569 (2021). https://doi.org/10.1109/MSR52588.2021.00075
Hassan, H.B., Barakat, S.A., Sarhan, Q.I.: Survey on serverless computing. J. Cloud Comput. 10(1), 1–29 (2021)
Hendrickson, S., Sturdevant, S., Harter, T., Venkataramani, V., Arpaci-Dusseau, A.C., Arpaci-Dusseau, R.H.: Serverless computation with openlambda. In: Proceedings of USENIX HotCloud (2016)
Jia, Z., Witchel, E.: Boki: stateful serverless computing with shared logs. In: Proceedings of ACM SIGOPS SOSP, pp. 691–707. ACM, New York, NY, USA (2021). https://doi.org/10.1145/3477132.3483541
Jonas, E., et al.: Cloud programming simplified: a Berkeley view on serverless computing. Technical report UCB/EECS-2019-3, EECS Department, University of California, Berkeley (2019)
Kotni, S., Nayak, A., Ganapathy, V., Basu, A.: Faastlane: accelerating function-as-a-service workflows. In: Proceedings of USENIX ATC, pp. 805–820. USENIX Association (2021)
Kreps, J., Narkhede, N., Rao, J., et al.: Kafka: a distributed messaging system for log processing. In: Proceedings of NetDB, vol. 11, pp. 1–7 (2011)
Kuntsevich, A., Nasirifard, P., Jacobsen, H.A.: A distributed analysis and benchmarking framework for apache openwhisk serverless platform. In: Proceedings of Middleware (Posters), pp. 3–4 (2018)
Oren Ben-Kiki, Clark Evans, I.d.N.: Yaml ain’t markup language (yaml™) version 1.2 (2021). https://yaml.org/spec/1.2.2/
Sampé, J., Sánchez-Artigas, M., García-López, P., París, G.: Data-driven serverless functions for object storage. In: Proceedings of Middleware, pp. 121–133. ACM (2017). https://doi.org/10.1145/3135974.3135980
Shahrad, M., Balkind, J., Wentzlaff, D.: Architectural implications of function-as-a-service computing. In: Proceedings of MICRO, pp. 1063–1075 (2019)
Shillaker, S., Pietzuch, P.: Faasm: Lightweight isolation for efficient stateful serverless computing. In: Proceedings of USENIX ATC, pp. 419–433. USENIX Association (2020)
Stein, M.: The serverless scheduling problem and noah. arXiv preprint arXiv:1809.06100 (2018)
Suresh, A., Gandhi, A.: Fnsched: an efficient scheduler for serverless functions. In: Proceedings of WOSC@Middleware, pp. 19–24. ACM (2019). https://doi.org/10.1145/3366623.3368136
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2024 IFIP International Federation for Information Processing
About this paper
Cite this paper
De Palma, G., Giallorenzo, S., Mauro, J., Trentin, M., Zavattaro, G. (2024). An OpenWhisk Extension for Topology-Aware Allocation Priority Policies. In: Castellani, I., Tiezzi, F. (eds) Coordination Models and Languages. COORDINATION 2024. Lecture Notes in Computer Science, vol 14676. Springer, Cham. https://doi.org/10.1007/978-3-031-62697-5_11
Download citation
DOI: https://doi.org/10.1007/978-3-031-62697-5_11
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-62696-8
Online ISBN: 978-3-031-62697-5
eBook Packages: Computer ScienceComputer Science (R0)