Skip to main content

Towards Generating Realistic Trace for Simulating Functions-as-a-Service

  • 106 Accesses

Part of the Lecture Notes in Computer Science book series (LNCS,volume 13098)

Abstract

Serverless computing is a step forward to provide a cloud environment that responds to user requests by mainly focusing on managing infrastructure, resources and configurations. Despite the widespread use of cloud simulators, they are still mainly focused on supporting more traditional Infrastructure-as-a-Service scenarios and this reduces their applicability in the serverless and function as a service domains. Moreover, workload traces typically employed by IaaS simulators to represent user behaviour, are not well adoptable for serverless model. More realistic and serverless-like traces are essential to simulate and predict the behaviour of functions in serverless systems. Therefore, this paper focuses on generating realistic traces for simulating serverless computing platforms. The generated traces produced by our approach are based on the Azure Functions dataset and they are readily applicable in an already available versatile and high performance simulator (DISSECT-CF). We validated the generated approach using the coefficient of determination (\(R^2\)), which shows very good values for the average and percentiles of the execution time and memory. To demonstrate the benefits of the generated traces we introduced a rudimentary model for serverless systems to DISSECT-CF. Our evaluation shows that our workloads are realistic and closely follow the behaviour of Azure’s function as a service component.

Keywords

  • Serverless computing
  • Serverless workload
  • Serverless trace
  • FaaS
  • DISSECT-CF

This is a preview of subscription content, access via your institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • DOI: 10.1007/978-3-031-06156-1_34
  • Chapter length: 12 pages
  • Instant PDF download
  • Readable on all devices
  • Own it forever
  • Exclusive offer for individuals only
  • Tax calculation will be finalised during checkout
eBook
USD   79.99
Price excludes VAT (USA)
  • ISBN: 978-3-031-06156-1
  • Instant PDF download
  • Readable on all devices
  • Own it forever
  • Exclusive offer for individuals only
  • Tax calculation will be finalised during checkout
Softcover Book
USD   99.99
Price excludes VAT (USA)
Fig. 1.
Fig. 2.
Fig. 3.
Fig. 4.

Notes

  1. 1.

    https://github.com/kecskemeti/dissect-cf-examples.

  2. 2.

    https://github.com/kecskemeti/DistSysJavaHelpers.

  3. 3.

    https://github.com/Azure/AzurePublicDataset.

References

  1. Microsoft corporation. Azure functions pricing. https://azure.microsoft.com/en-us/pricing/details/functions/

  2. Calheiros, R.N., Ranjan, R., Beloglazov, A., De Rose, C.A., Buyya, R.: Cloudsim: a toolkit for modeling and simulation of cloud computing environments and evaluation of resource provisioning algorithms. Softw.: Pract. Exp. 41(1), 23–50 (2011)

    Google Scholar 

  3. Jeon, H., Cho, C., Shin, S., Yoon, S.: A cloudsim-extension for simulating distributed functions-as-a-service. In: 2019 20th International Conference on parallel and distributed computing, applications and technologies (PDCAT), pp. 386–391. IEEE (2019)

    Google Scholar 

  4. Jounaid, S.: OpenDC Serverless: Design, Implementation and Evaluation of a FaaS Platform Simulator. Ph.D. Thesis, Vrije Universiteit Amsterdam (2020)

    Google Scholar 

  5. Kecskemeti, G.: DISSECT-CF: a simulator to foster energy-aware scheduling in infrastructure clouds. Simul. Modell. Pract. Theor. 58, 188–218 (2015)

    CrossRef  Google Scholar 

  6. Kliazovich, D., Bouvry, P., Khan, S.U.: GreenCloud: a packet-level simulator of energy-aware cloud computing data centers. J. Supercomput. 62(3), 1263–1283 (2012)

    CrossRef  Google Scholar 

  7. Mann, Z.Á.: Cloud simulators in the implementation and evaluation of virtual machine placement algorithms. Softw.: Pract. Exp. 48(7), 1368–1389 (2018). https://doi.org/10.1002/spe.2579

    CrossRef  Google Scholar 

  8. Ostermann, S., Plankensteiner, K., Prodan, R., Fahringer, T.: Groudsim: an event-based simulation framework for computational grids and clouds. In: Euro-Par 2010 Parallel Processing Workshops, vol. 6586, pp. 305–313. Springer, Cham (2010). https://doi.org/10.1007/978-3-642-21878-1_38

  9. Shahrad, M., et al.: Serverless in the wild: characterizing and optimizing the serverless workload at a large cloud provider. In: 2020 \(\{\)USENIX\(\}\) Annual Technical Conference (\(\{\)USENIX\(\}\)\(\{\)ATC\(\}\) 20), pp. 205–218 (2020)

    Google Scholar 

  10. Sriram, I.: SPECI, a simulation tool exploring cloud-scale data centres. In: Jaatun, M.G., Zhao, G., Rong, C. (eds.) Cloud Computing, vol. 5931, pp. 381–392. Springer, Cham (2009). https://doi.org/10.1007/978-3-642-10665-1_35

    CrossRef  Google Scholar 

Download references

Acknowledgements

This research was supported by the Hungarian Scientific Research Fund under the grant number OTKA FK 131793.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Dilshad Hassan Sallo .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and Permissions

Copyright information

© 2022 Springer Nature Switzerland AG

About this paper

Verify currency and authenticity via CrossMark

Cite this paper

Sallo, D.H., Kecskemeti, G. (2022). Towards Generating Realistic Trace for Simulating Functions-as-a-Service. In: , et al. Euro-Par 2021: Parallel Processing Workshops. Euro-Par 2021. Lecture Notes in Computer Science, vol 13098. Springer, Cham. https://doi.org/10.1007/978-3-031-06156-1_34

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-06156-1_34

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-06155-4

  • Online ISBN: 978-3-031-06156-1

  • eBook Packages: Computer ScienceComputer Science (R0)