Nothing Special   »   [go: up one dir, main page]

skip to main content
10.1145/3565382.3565882acmconferencesArticle/Chapter ViewAbstractPublication PagesmiddlewareConference Proceedingsconference-collections
short-paper

Transferring transactional business processes to FaaS

Published: 22 November 2022 Publication History

Abstract

Function-as-a-Service (FaaS) is a modern cloud service model that has gained significant attention from the research and industry communities in recent years for its many benefits such as dynamic scaling, cost efficiency, faster programming, flexibility to microservices and containers technology. However, the building and deployment of serverless applications come with many challenges that need to be tackled, like workflow design complexity and migration of other applications. When transactions between different parties are involved, the workflow becomes knotty and the communication between participants and all properties of transactions have to be properly resolved. Transactions have widely been discussed in Business processes, so same practices might be adopted by serverless workflows. In this work we provide guidelines and mapping mechanisms for transforming transactional Business Process Modeling Notation 2.0 (BPMN2) applications to a serverless platform. We shed light on the current inability of function orchestrators to express workflow definitions, and deal with various architectural dilemmas that stem from the dissimilar nature of stateful BPMN vs. stateless serverless applications. We overcome the unbalanced capabilities between well-established BPMN notations and function orchestration definitions and illustrate how to exploit and combine cloud native services that comes with FaaS to create serverless applications.

References

[1]
Ioana Baldini, Perry Cheng, Stephen J. Fink, Nick Mitchell, Vinod Muthusamy, Rodric Rabbah, Philippe Suter, and Olivier Tardieu. 2017. The serverless trilemma: function composition for serverless computing. In Onward!, Emina Torlak, Tijs van der Storm, and Robert Biddle (Eds.). ACM, 89--103. http://dblp.uni-trier.de/db/conf/oopsla/onward2017.html#BaldiniCFMMRST17
[2]
Daniel Ryan Degutis. 2020. Modeling and Transformation of Serverless Workflows (Master's thesis). Master's thesis. University of Stuttgart, Universitätsstraße 38 D-70569 Stuttgart.
[3]
Hector Garcia-Molina and Kenneth Salem. 1987. Sagas. SIGMOD Rec. 16, 3 (Dec. 1987), 249--259.
[4]
David Grove. 2016. GitHub - apache/openwhisk-package-alarms. Retrieved August 18, 2022 from https://github.com/apache/openwhisk-package-alarms
[5]
David Grove. 2018. The Apache OpenWhisk Kubernetes Deployment repository supports deploying the Apache OpenWhisk system on Kubernetes and OpenShift clusters. Retrieved August 18, 2022 from https://github.com/apache/openwhisk-deploy-kube
[6]
Gregor Hohpe. 2005. Your Coffee Shop Doesn't Use Two-Phase Commit. IEEE Software 22, 2 (2005), 64--66.
[7]
Gregor Hohpe and Bobby Woolf. 2003. Enterprise Integration Patterns : Designing, Building, and Deploying Messaging Solutions. Addison-Wesley Professional. http://www.amazon.ca/exec/obidos/redirect?tag=citeulike09-20&path=ASIN/0321200683
[8]
IBM 2022. System details and limits. Retrieved August 18, 2022 from https://cloud.ibm.com/docs/openwhisk?topic=openwhisk-limits
[9]
Shannon Joyner, Michael MacCoss, Christina Delimitrou, and Hakim Weatherspoon. 2020. Ripple: A Practical Declarative Programming Framework for Serverless Compute. CoRR abs/2001.00222 (2020). http://dblp.uni-trier.de/db/journals/corr/corr2001.html#abs-2001-00222
[10]
Pedro García López, Aitor Arjona, Josep Sampé, Aleksander Slominski, and Lionel Villard. 2020. Triggerflow: Trigger-based Orchestration of Serverless Workflows. CoRR abs/2006.08654 (2020). http://dblp.uni-trier.de/db/journals/corr/corr2006.html#abs-2006-08654
[11]
Guy Pardon and Cesare Pautasso. 2011. Towards Distributed Atomic Transactions over RESTful Services. In REST: From Research to Practice, Erik Wilde and Cesare Pautasso (Eds.). Springer, 507--524.
[12]
Daniel Barcelona Pons and Pedro García López. 2020. Benchmarking Parallelism in FaaS Platforms. CoRR abs/2010.15032 (2020). http://dblp.uni-trier.de/db/journals/corr/corr2010.html#abs-2010-15032
[13]
Daniel Barcelona Pons, Pedro García López, Álvaro Ruiz Ollobarren, Amanda Gómez-Gómez, Gerard París, and Marc Sánchez Artigas. 2019. FaaS Orchestration of Parallel Workloads. In WOSC@Middleware. ACM, 25--30. http://dblp.unitrier.de/db/conf/middleware/wosc2019.html#PonsLOGPA19
[14]
Sterling Quinn, Robert Cordingly, and Wes Lloyd. 2021. Implications of Alternative Serverless Application Control Flow Methods. In Proceedings of the Seventh International Workshop on Serverless Computing (WoSC7) 2021 (Virtual Event, Canada) (WoSC '21). Association for Computing Machinery, New York, NY, USA, 17--22.
[15]
Bernd Rücker. 2017. How to implement long running flows, sagas, business processes or similar | by Bernd Rücker | berndruecker. Retrieved August 23, 2022 from https://blog.bernd-ruecker.com/how-to-implement-long-running-flows-sagas-business-processes-or-similar-3c870a1b95a8
[16]
Bernd Rücker. 2018. GitHub - berndruecker/flowing-retail. Retrieved August 23, 2022 from https://github.com/berndruecker/flowing-retail
[17]
Yussupov Vladimir, Soldani Jacopo, Breitenbücher Uwe, and Leymann Frank. 2022. Standards-based modeling and deployment of serverless function orchestrations using BPMN and TOSCA. Software: Practice and Experience 52, 6 (01 2022), 42.
[18]
Vladimir Yussupov, Uwe Breitenbücher, Frank Leymann, and Christian Müller. 2019. Facing the unplanned migration of serverless applications: A study on portability problems, solutions, and dead ends. In UCC '19 Companion, Johnson Kenneth, Spillner Josef, Klusáček Dalibor, and Anjum Ashiq (Eds.). IEEE/ACM, 273--283.

Cited By

View all
  • (2024)Pattern-based serverless data processing pipelines for Function-as-a-Service orchestration systemsFuture Generation Computer Systems10.1016/j.future.2023.12.026154:C(87-100)Online publication date: 25-Jun-2024
  • (2023)Halfmoon: Log-Optimal Fault-Tolerant Stateful Serverless ComputingProceedings of the 29th Symposium on Operating Systems Principles10.1145/3600006.3613154(314-330)Online publication date: 23-Oct-2023

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Conferences
WoSC '22: Proceedings of the Eighth International Workshop on Serverless Computing
November 2022
42 pages
ISBN:9781450399272
DOI:10.1145/3565382
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

In-Cooperation

  • USENIX Assoc: USENIX Assoc
  • IFIP

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 22 November 2022

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. BPMN2
  2. FaaS
  3. OpenWhisk
  4. function orchestration
  5. serverless workflow
  6. transactions

Qualifiers

  • Short-paper

Funding Sources

  • Greek Research Technology Development and Innovation Action
  • EU

Conference

Middleware '22
Sponsor:
Middleware '22: 23rd International Middleware Conference
November 7, 2022
Quebec City, Quebec, Canada

Upcoming Conference

MIDDLEWARE '24
25th International Middleware Conference
December 2 - 6, 2024
Hong Kong , Hong Kong

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)40
  • Downloads (Last 6 weeks)8
Reflects downloads up to 18 Nov 2024

Other Metrics

Citations

Cited By

View all
  • (2024)Pattern-based serverless data processing pipelines for Function-as-a-Service orchestration systemsFuture Generation Computer Systems10.1016/j.future.2023.12.026154:C(87-100)Online publication date: 25-Jun-2024
  • (2023)Halfmoon: Log-Optimal Fault-Tolerant Stateful Serverless ComputingProceedings of the 29th Symposium on Operating Systems Principles10.1145/3600006.3613154(314-330)Online publication date: 23-Oct-2023

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media