An OpenWhisk Extension for Topology-Aware Allocation Priority Policies

  • Conference paper
  • First Online:
Coordination Models and Languages (COORDINATION 2024)

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
EUR 32.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or Ebook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
EUR 29.95
Price includes VAT (Thailand)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
EUR 94.15
Price includes VAT (Thailand)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
EUR 79.99
Price excludes VAT (Thailand)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free ship** worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    For space reason, Fig. 1 shows also the elements we modified and added to support tAPP—these will be detailed in Sect. 4.

  2. 2.

    For reproducibility, we provide the list of the rejection criteria applied to all 63 non-AWS discarded projects at [1].

  3. 3.

    In data-locality, min_memory has a slightly lower average than shared, but the latter has both lower variance and maximal latency.

References

  1. tAPP-based openwhisk extension (2022). https://github.com/mattrent/openwhisk

  2. Repository of rejected projects from wonderless (2022). https://github.com/mattrent/openwhisk-deploy-kube

  3. 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

  4. Akkus, I.E., et al.: SAND: towards high-performance serverless computing. In: Proceedings of USENIX/ATC, pp. 923–935 (2018)

    Google Scholar 

  5. Anderson, J.C., Lehnardt, J., Slater, N.: CouchDB: the definitive guide: time to relax. " O’Reilly Media, Inc." (2010)

    Google Scholar 

  6. Armbrust, M., et al.: Above the clouds: a Berkeley view of cloud computing. University of California, Berkeley, Rep. UCB/EECS 28(13), 2009 (2009)

    Google Scholar 

  7. 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

  8. Bernstein, D.: Containers and cloud: from lxc to docker to kubernetes. IEEE Cloud Comput. 1(3), 81–84 (2014)

    Article  Google Scholar 

  9. 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)

    Google Scholar 

  10. 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

  11. Hassan, H.B., Barakat, S.A., Sarhan, Q.I.: Survey on serverless computing. J. Cloud Comput. 10(1), 1–29 (2021)

    Article  Google Scholar 

  12. 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)

    Google Scholar 

  13. 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

  14. 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)

    Google Scholar 

  15. 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)

    Google Scholar 

  16. 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)

    Google Scholar 

  17. 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)

    Google Scholar 

  18. 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/

  19. 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

  20. Shahrad, M., Balkind, J., Wentzlaff, D.: Architectural implications of function-as-a-service computing. In: Proceedings of MICRO, pp. 1063–1075 (2019)

    Google Scholar 

  21. Shillaker, S., Pietzuch, P.: Faasm: Lightweight isolation for efficient stateful serverless computing. In: Proceedings of USENIX ATC, pp. 419–433. USENIX Association (2020)

    Google Scholar 

  22. Stein, M.: The serverless scheduling problem and noah. ar**v preprint ar**v:1809.06100 (2018)

  23. 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

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Giuseppe De Palma .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2024 IFIP International Federation for Information Processing

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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)

Publish with us

Policies and ethics

Navigation