skip to main content
10.1145/3631085.3631225acmotherconferencesArticle/Chapter ViewAbstractPublication PagessbgamesConference Proceedingsconference-collections
research-article

Towards Scalable Cloud Gaming Systems: Decoupling Physics from the Game Engine

Published:19 January 2024Publication History

ABSTRACT

By leveraging cloud computing resources, cloud gaming, also known as Games-as-a-Service (GaaS), has emerged as a new computer game delivery paradigm that promises gaming anywhere, anytime, on any device. In this regard, game engine architectures are one of the main objects of study when adapting digital games to cloud gaming. However, most of the proposed cloud gaming architectures cannot take full advantage of cloud computing resources to offer system scalability due to a monolith design. In this paper, we evaluate the impacts of a distributed architecture in terms of system performance by employing the service-oriented architecture paradigm to offload the game physics calculations as a decoupled system. As a differential, our work contributes to the discussion by implementing a proof-of-concept to compare the game engine performance between the monolith and distributed approaches by utilizing a modern public cloud provider, which as far as we know, has not yet been done in the literature. As a result, the distributed approach had a better performance in computation-intensive physics calculations scenarios. In this case, the communication overhead is outweighed by performance gains, as the physics engine was deployed on a compute-optimized VM. This further indicates the benefits of decoupling game engine systems, not only better game performance but also taking a step further for a scalable cloud gaming system, which can scale better both vertically and horizontally.

References

  1. Hayri Acar, Hind Benfenatki, Jean-Patrick Gelas, Catarina Ferreira Da Silva, Gulfem I. Alptekin, Aïcha-Nabila Benharkat, and Parisa Ghodous. 2018. Software Greenability: A Case Study of Cloud-Based Business Applications Provisioning. In 2018 IEEE 11th International Conference on Cloud Computing (CLOUD). 875–878. https://doi.org/10.1109/CLOUD.2018.00125Google ScholarGoogle ScholarCross RefCross Ref
  2. Anand Bhojan, Siang Ping Ng, Joel Ng, and Wei Tsang Ooi. 2020. CloudyGame: Enabling cloud gaming on the edge with dynamic asset streaming and shared game instances. Multimedia Tools and Applications 79, 43-44 (Aug. 2020), 32503–32523. https://doi.org/10.1007/s11042-020-09612-zGoogle ScholarGoogle ScholarDigital LibraryDigital Library
  3. Grzegorz Blinowski, Anna Ojdowska, and Adam Przybyłek. 2022. Monolithic vs. Microservice Architecture: A Performance and Scalability Evaluation. IEEE Access 10 (2022), 20357–20374. https://doi.org/10.1109/ACCESS.2022.3152803Google ScholarGoogle ScholarCross RefCross Ref
  4. Manti Bose and Vasanthakumar Rajagopala. 2012. Physics engine on reconfigurable processor — Low power optimized solution empowering next-generation graphics on embedded platforms. In 2012 17th International Conference on Computer Games (CGAMES). 138–142. https://doi.org/10.1109/CGames.2012.6314565Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. Alexander Brown, Gary Ushaw, and Graham Morgan. 2019. Aura Projection for Scalable Real-Time Physics. In Proceedings of the ACM SIGGRAPH Symposium on Interactive 3D Graphics and Games (Montreal, Quebec, Canada) (I3D ’19). Association for Computing Machinery, New York, NY, USA, Article 1, 9 pages. https://doi.org/10.1145/3306131.3317021Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. Alexander James Ronald Brown. 2020. Distributed real-time physics for scalable and streamed games and simulation. PhD Thesis. School of Computing, Newcastle University, https://theses.ncl.ac.uk/jspui/handle/10443/5307.Google ScholarGoogle Scholar
  7. James Bulman and Peter Garraghan. 2020. A Cloud Gaming Framework for Dynamic Graphical Rendering Towards Achieving Distributed Game Engines. In 12th USENIX Workshop on Hot Topics in Cloud Computing (HotCloud 20). USENIX Association. https://www.usenix.org/conference/hotcloud20/presentation/bulmanGoogle ScholarGoogle ScholarDigital LibraryDigital Library
  8. Wei Cai, Min Chen, and Victor C.M. Leung. 2014. Toward Gaming as a Service. IEEE Internet Computing 18, 3 (May 2014), 12–18. https://doi.org/10.1109/MIC.2014.22Google ScholarGoogle ScholarCross RefCross Ref
  9. Wei Cai, Yuanfang Chi, Conghui Zhou, Chaojie Zhu, and Victor C. M. Leung. 2018. UBCGaming: Ubiquitous Cloud Gaming System. IEEE Systems Journal 12, 3 (2018), 2483–2494. https://doi.org/10.1109/JSYST.2018.2797080Google ScholarGoogle ScholarCross RefCross Ref
  10. Wei Cai, Ryan Shea, Chun-Ying Huang, Kuan-Ta Chen, Jiangchuan Liu, Victor C. M. Leung, and Cheng-Hsin Hsu. 2016. A Survey on Cloud Gaming: Future of Computer Games. IEEE Access 4 (2016), 7605–7620. https://doi.org/10.1109/ACCESS.2016.2590500Google ScholarGoogle ScholarCross RefCross Ref
  11. Diego Cordeiro Barboza, Débora C. Muchaluat-Saade, Esteban Walter Gonzales Clua, and Diego Gimenez Passos. 2022. An architecture for multi-layer object coding in 2D game streaming using shared data in a multi-user environment. Entertainment Computing 42 (2022), 100490. https://doi.org/10.1016/j.entcom.2022.100490Google ScholarGoogle ScholarCross RefCross Ref
  12. JoltPhysics engine. 2022. Jolt Physics Multicore Scaling. https://jrouwe.nl/jolt/JoltPhysicsMulticoreScaling.pdf. Accessed: 2023-06-10.Google ScholarGoogle Scholar
  13. Miguel Garcia, Jose Quiroga, and Francisco Ortin. 2022. ProcessPerformance: A portable and easy-to-use tool to measure resource consumption of running processes. Software Impacts 11 (2022), 100220. https://doi.org/10.1016/j.simpa.2022.100220Google ScholarGoogle ScholarCross RefCross Ref
  14. Luigi De Giovanni, Davide Gadia, Paolo Giaccone, Dario Maggiorini, Claudio E. Palazzi, Laura Anna Ripamonti, and German Sviridov. 2022. Revamping Cloud Gaming With Distributed Engines. IEEE Internet Computing 26, 6 (Nov. 2022), 88–95. https://doi.org/10.1109/mic.2022.3172105Google ScholarGoogle ScholarCross RefCross Ref
  15. RJ Grigg and R Hexel. 2017. Communication versus computation: a survey of cloud gaming approaches. GAME’ON 2017, 18th Conference on Intelligent Games and Simulation ; Conference date: 06-09-2017 Through 08-09-2017.Google ScholarGoogle Scholar
  16. Mickael Hassam, Nadjia Kara, Fatna Belqasmi, and Roch Glitho. 2014. Virtualized Infrastructure for Video Game Applications in Cloud Environments. In Proceedings of the 12th ACM International Symposium on Mobility Management and Wireless Access (Montreal, QC, Canada) (MobiWac ’14). Association for Computing Machinery, New York, NY, USA, 109–114. https://doi.org/10.1145/2642668.2642679Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. Wajid Hassan, Te-Shun Chou, Omar Tamer, John Pickard, Patrick Appiah-Kubi, and Leslie Pagliari. [n. d.]. Cloud computing survey on services, enhancements and challenges in the era of machine learning and Data Science. https://ijict.iaescore.com/index.php/IJICT/article/view/20252Google ScholarGoogle Scholar
  18. Chun-Ying Huang, Cheng-Hsin Hsu, Yu-Chun Chang, and Kuan-Ta Chen. 2013. GamingAnywhere: An Open Cloud Gaming System. In Proceedings of the 4th ACM Multimedia Systems Conference (Oslo, Norway) (MMSys ’13). Association for Computing Machinery, New York, NY, USA, 36–47. https://doi.org/10.1145/2483977.2483981Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. Hsin-Wei Huang, Benny Wei-Yun Hsu, Chih-Hung Lee, and Vincent S Tseng. 2021. Development of a light-weight deep learning model for cloud applications and remote diagnosis of skin cancers. The Journal of Dermatology 48, 3 (2021), 310–316.Google ScholarGoogle ScholarCross RefCross Ref
  20. Gazi Karam Illahi, Thomas Van Gemert, Matti Siekkinen, Enrico Masala, Antti Oulasvirta, and Antti Ylä-Jääski. 2020. Cloud Gaming with Foveated Video Encoding. ACM Trans. Multimedia Comput. Commun. Appl. 16, 1, Article 7 (feb 2020), 24 pages. https://doi.org/10.1145/3369110Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. M. Joselli, Jose Ricardo da Silva, M. Zamith, E. Clua, M. Pelegrino, E. Mendonca, and E. Soluri. 2012. Techniques for designing GPGPU games. In 2012 IEEE International Games Innovation Conference. 1–5. https://doi.org/10.1109/IGIC.2012.6329853Google ScholarGoogle ScholarCross RefCross Ref
  22. Pawan Kumar and Rakesh Kumar. 2019. Issues and challenges of load balancing techniques in cloud computing: A survey. ACM Computing Surveys (CSUR) 51, 6 (2019), 1–35.Google ScholarGoogle ScholarDigital LibraryDigital Library
  23. Asif Laghari, Hui He, Kamran Ali, Rashid Laghari, Imtiaz Halepoto, and Asiya Khan. 2019. Quality of experience (QoE) in cloud gaming models: A review. Multiagent and Grid Systems 15 (10 2019), 289–304. https://doi.org/10.3233/MGS-190313Google ScholarGoogle ScholarCross RefCross Ref
  24. Michael Lewis and Jeffrey Jacobson. 2002. Game engines. Commun. ACM 45, 1 (2002), 27.Google ScholarGoogle ScholarDigital LibraryDigital Library
  25. Mitchell Longan, Gaetano Dimita, Johan David Michels, and Christopher Millard. 2021. Cloud gaming demystified: An introduction to the legal implications of cloud-based video games. https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3949611Google ScholarGoogle Scholar
  26. Laura Mazzuca, Andrea Garbugli, Andrea Sabbioni, Armir Bujari, and Antonio Corradi. 2022. Towards a Resource-aware Middleware Support for Distributed Game Engine Design. In Conference on Information Technology for Social Good. ACM. https://doi.org/10.1145/3524458.3547126Google ScholarGoogle ScholarDigital LibraryDigital Library
  27. Andrés Navarro Cadavid and Dinael Guevara Ibarra. 2010. Using game engines in ray tracing physics. In 2010 IEEE Latin-American Conference on Communications. 1–5. https://doi.org/10.1109/LATINCOM.2010.5641119Google ScholarGoogle ScholarCross RefCross Ref
  28. Dinh C Nguyen, Pubudu N Pathirana, Ming Ding, and Aruna Seneviratne. 2020. Integration of blockchain and cloud of things: Architecture, applications and challenges. IEEE Communications surveys & tutorials 22, 4 (2020), 2521–2549.Google ScholarGoogle Scholar
  29. Arto Ojala and Pasi Tyrvainen. 2011. Developing Cloud Business Models: A Case Study on Cloud Gaming. IEEE Software 28, 4 (2011), 42–47. https://doi.org/10.1109/MS.2011.51Google ScholarGoogle ScholarDigital LibraryDigital Library
  30. Ling Qian, Zhiguo Luo, Yujian Du, and Leitao Guo. 2009. Cloud Computing: An Overview. In Cloud Computing, Martin Gilje Jaatun, Gansen Zhao, and Chunming Rong (Eds.). Springer Berlin Heidelberg, Berlin, Heidelberg, 626–631.Google ScholarGoogle Scholar
  31. Freddy Tapia, Miguel Ángel Mora, Walter Fuertes, Hernán Aules, Edwin Flores, and Theofilos Toulkeridis. 2020. From Monolithic Systems to Microservices: A Comparative Study of Performance. Applied Sciences 10, 17 (2020). https://doi.org/10.3390/app10175797Google ScholarGoogle ScholarCross RefCross Ref
  32. Marcus Toftedahl and Henrik Engström. 2019. A taxonomy of game engines and the tools that drive the industry. In DiGRA 2019, The 12th Digital Games Research Association Conference, Kyoto, Japan, August, 6-10, 2019. Digital Games Research Association (DiGRA).Google ScholarGoogle Scholar

Index Terms

  1. Towards Scalable Cloud Gaming Systems: Decoupling Physics from the Game Engine

    Recommendations

    Comments

    Login options

    Check if you have access through your login credentials or your institution to get full access on this article.

    Sign in
    • Published in

      cover image ACM Other conferences
      SBGames '23: Proceedings of the 22nd Brazilian Symposium on Games and Digital Entertainment
      November 2023
      176 pages

      Copyright © 2023 ACM

      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 the author(s) 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].

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      • Published: 19 January 2024

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • research-article
      • Research
      • Refereed limited
    • Article Metrics

      • Downloads (Last 12 months)27
      • Downloads (Last 6 weeks)16

      Other Metrics

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    HTML Format

    View this article in HTML Format .

    View HTML Format