Skip to main content

RenewKube: Reference Net Simulation Scaling with Renew and Kubernetes

  • Conference paper
  • First Online:
Application and Theory of Petri Nets and Concurrency (PETRI NETS 2019)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 11522))

Abstract

When simulating reference nets, the size (places, transitions; memory and CPU consumption) of the simulation is usually not known before actual runtime. This behavior originates from the concept of net instances, which are similar to objects in object-oriented programming. The simulator Renew supports very basic distribution but the manual infrastructural setup for simulations exceeding the capabilities of one machine is left up to the modeler until now. In this work the RenewKube tool, a ready to use Kubernetes and Docker based solution, is presented, that allows to control automated scaling of simulation instances from within the net running in the Renew simulator.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    Available at https://paose.informatik.uni-hamburg.de/paose/wiki/RenewKube.

  2. 2.

    size refers to utilized CPU, RAM usage and also (but not primarily) hard disk usage.

  3. 3.

    https://aws.amazon.com/.

  4. 4.

    In recent implementations there is Windows support as well.

  5. 5.

    https://www.docker.com/.

  6. 6.

    https://kubernetes.io/.

  7. 7.

    http://www.renew.de.

  8. 8.

    For definition of up- and downlinks see Sect. 2.

  9. 9.

    Headless in this context refers to running without graphical user interface.

References

  1. Bendoukha, S.: Multi-agent approach for managing workflows in an inter-cloud environment. Dissertation, University of Hamburg, Department of Informatics, Vogt-Kölln Str. 30, D-22527 Hamburg (2017)

    Google Scholar 

  2. Bernstein, D.: Containers and cloud: from LXC to Docker to Kubernetes. IEEE Cloud Comput. 1(3), 81–84 (2014)

    Article  Google Scholar 

  3. Buchs, D., Klikovits, S., Linard, A., Mencattini, R., Racordon, D.: A model checker collection for the model checking contest using docker and machine learning. In: Khomenko, V., Roux, O.H. (eds.) PETRI NETS 2018. LNCS, vol. 10877, pp. 385–395. Springer, Cham (2018). https://doi.org/10.1007/978-3-319-91268-4_21

    Chapter  Google Scholar 

  4. Chiola, G., Ferscha, A.: Distributed simulation of Petri nets. IEEE Parallel Distrib. Technol. 1(3), 33–50 (1993)

    Article  Google Scholar 

  5. Christensen, S., Damgaard Hansen, N.: Coloured Petri Nets extended with channels for synchronous communication. In: Valette, R. (ed.) ICATPN 1994. LNCS, vol. 815, pp. 159–178. Springer, Heidelberg (1994). https://doi.org/10.1007/3-540-58152-9_10

    Chapter  Google Scholar 

  6. Hauschildt, D.: A Petri net implementation. Fachbereichsmitteilung FBI-HH-M-145/87, University of Hamburg, Department of Computer Science, Vogt-Kölln Str. 30, D-22527 Hamburg (1987)

    Google Scholar 

  7. El Kaim, W., Kordon, F.: An integrated framework for rapid system prototyping and automatic code distribution. In: Proceedings of RSP, Grenoble, France, pp. 52–61. IEEE (1994)

    Google Scholar 

  8. Kordon, F.: Prototypage de systèmes parallèles à partir de réseaux de Petri colorés, application au langage Ada dans un environment centralisé ou réparti. Dissertation, Université P & M Curie, May 1992

    Google Scholar 

  9. Kummer, O.: Referenznetze. Logos Verlag, Berlin (2002)

    Google Scholar 

  10. Maier, C., Moldt, D.: Object coloured Petri nets - a formal technique for object oriented modelling. In: Agha, G.A., De Cindio, F., Rozenberg, G. (eds.) Concurrent Object-Oriented Programming and Petri Nets. LNCS, vol. 2001, pp. 406–427. Springer, Heidelberg (2001). https://doi.org/10.1007/3-540-45397-0_16

    Chapter  MATH  Google Scholar 

  11. Pitt, E., McNiff, K.: Java.Rmi: The Remote Method Invocation Guide. Addison-Wesley Longman Publishing Co., Inc, Boston (2001)

    Google Scholar 

  12. Pommereau, F., de la Houssaye, J.: Faster simulation of (coloured) Petri nets using parallel computing. In: van der Aalst, W., Best, E. (eds.) PETRI NETS 2017. LNCS, vol. 10258, pp. 37–56. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-57861-3_4

    Chapter  MATH  Google Scholar 

  13. Röwekamp, J.H.: Investigating the Java Spring framework to simulate reference nets with Renew. Number 2018–02 in Reports/Technische Berichte der Fakultät für Angewandte Informatik der Universität Augsburg, pp. 41–46. Universität Augsburg, Fachbereich Informatik (2018)

    Google Scholar 

  14. Röwekamp, J.H., Moldt, D., Feldmann, M.: Investigation of containerizing distributed Petri net simulations. In: Moldt, D., Kindler, E., Rölke, H. (eds.) Petri Nets and Software Engineering. International Workshop, PNSE 2018, Bratislava, Slovakia, 25–26 June 2018. Proceedings, volume 2138 of CEUR Workshop Proceedings, pp. 133–142. CEUR-WS.org (2018)

    Google Scholar 

  15. Röwekamp, J.H., Moldt, D., Simon, M.: A simple prototype of distributed execution of reference nets based on virtual machines. In: Proceedings of the Algorithms and Tools for Petri Nets (AWPN) Workshop 2017, pp. 51–57, October 2017

    Google Scholar 

  16. Simon, M., Moldt, D.: Extending Renew’s algorithms for distributed simulation. In: Cabac, L., Kristensen, L.M. Rölke, H. (eds.) Petri Nets and Software Engineering. International Workshop, PNSE 2016, Toruń, Poland, 20–21 June 2016. Proceedings, volume 1591 of CEUR Workshop Proceedings, pp. 173–192. CEUR-WS.org (2016)

    Google Scholar 

  17. Taubner, D.: On the implementation of Petri nets. In: Rozenberg, G. (ed.) APN 1987. LNCS, vol. 340, pp. 418–439. Springer, Heidelberg (1988). https://doi.org/10.1007/3-540-50580-6_40

    Chapter  Google Scholar 

  18. Valk, R.: Petri nets as token objects - an introduction to elementary object. In: Desel, J., Silva, M. (eds.) ICATPN 1998. LNCS, vol. 1420, pp. 1–24. Springer, Heidelberg (1998). https://doi.org/10.1007/3-540-69108-1_1

    Chapter  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Jan Henrik Röwekamp .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Röwekamp, J.H., Moldt, D. (2019). RenewKube: Reference Net Simulation Scaling with Renew and Kubernetes. In: Donatelli, S., Haar, S. (eds) Application and Theory of Petri Nets and Concurrency. PETRI NETS 2019. Lecture Notes in Computer Science(), vol 11522. Springer, Cham. https://doi.org/10.1007/978-3-030-21571-2_4

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-21571-2_4

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-21570-5

  • Online ISBN: 978-3-030-21571-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics