27 Mar 2019, 13:04 — 6 min read
Background: Google’s plan to enter into the cloud gaming at the 2019 Game Developers Conference made it clear that it will dominate the games industry soon. Google Stadia, a cross platform game streaming device promises to bring changes in how games are developed, bought and played. GlobalLinker member Mahipal Nehra shares his thoughts on how Google can emerge as the Netflix of gaming with Stadia.
Gaming is a booming industry that is growing rapidly. Sony’s PlayStation, Microsoft’s Xbox and Nintendo’s Wii are the mammoths of this industry who have remained unchallenged for quite a while now. Google has recently announced its entry into the gaming world with Stadia, a cloud-based gaming environment that will provide a cross-platform gaming experience. Google will enable buttons on YouTube in gaming videos for Stadia users to directly play the game on a web browser. The games will run in data centres and the user’s device will be directly connected to these centres. On the user’s screen, respective video feed of the game, in response to the input from the user’s device, will be rendered with which a user will be able to play them in real time. The idea of Stadia is pretty amazing but extremely difficult to implement.
In this article I explore what Google has done to pull off this web application development. For running high definition games on web browsers there were a couple of deadlocks that Google had to resolve to provide real-time experience to users. Let’s discuss them one by one and how they resolved each challenge.
1. Internet Connectivity
Games on Stadia requires fast inputs and responses on the user's end, the biggest problem is how to render small video clips with respect to inputs from UI on the player’s web browser in real time. For this, a couple of things are required:
The load balancer switches the video resolution automatically to provide an uninterrupted video feed to the player.
Only High-speed internet connection can provide an uninterrupted video feed to the player that’s why Google is launching Stadia in developed countries only who have an access to high-speed data connection in the first phase of this web application.
End users will be playing games on Stadia through their Wi-Fi which should have high data transmit and receive rates. Wi-Fi runs on 2.4Ghz and 5Ghz frequencies, Wi-Fi signals on 2.4Ghz have low data transfer rates but has high power to pass through obstacles whereas Wi-Fi signals on 5Ghz have high data transfer rates but low penetration power.
2. Real-time response
Buttons on web applications usually use Application programming interface (API) to send instructions to servers on the backend and fetch the relative response but this usually takes a couple of seconds for the response, therefore, the conventional approach can’t be used. For real-time response on the end user’s / player’s device it is necessary that data centres get the inputs from the player’s device and respond as soon as possible. Following techniques are used to get the real-time response:
The Stadia remote controller will be connected to end user’s device as well as to data centres directly through Wi-Fi and every button pressed on this remote will be directly transmitted to the game running in the data centre. This approach reduces the processing time that was being spent to communicate with the backend.
Vulkan is a low overhead, cross-platform 3D graphics and computing API which targets high-performance real-time 3D graphics applications such as video games and interactive media. Compared to OpenGL and Direct3D 11, and like Direct3D 12 and Metal, Vulkan is intended to offer higher performance and more balanced CPU/GPU usage. Vulkan is a considerably lower level API offering parallel tasking.
It also has the ability to render 2D graphics applications. In addition to its lower CPU usage, Vulkan is also able to better distribute work among multiple CPU cores.Therefore, Stadia uses Vulkan APIs for its web application development. Since the instructions are communicated in low-level language the lag is reduced considerably as the encoding and decoding of instructions from a high-level language to low-level language is eliminated.
3. Speed up market dominance
Google knows alone it cannot develop enough games to beat its peers that are pioneers of the industry. So, it is inviting companies and developers to become stadia developers and use this platform to empower Google to become the crowned king of the gaming industry in upcoming years. Google has even partnered with Advanced Micro Devices (AMD) for developing Graphics processing unit (GPUs) specialized for Stadia. Although Stadia worked really well in the beta testing phase there’s a lot more to deal with, the real problems will appear once the games on stadia are publicly available for users.
Google knows that the world will completely move from standalone applications to web applications as it reduces the costs, maintenances and enables us to use bulky applications on low-end devices. Therefore, it recognized the business opportunity in the gaming industry and acted upon it with Stadia. Let’s wait and watch where it leads the gaming industry.
For better understanding of web application development connect with me by clicking on the 'Connect' button on my eBiz Card.
Disclaimer: The views and opinions expressed in this article are those of the author and do not necessarily reflect the views, official policy or position of GlobalLinker.
Posted byMahipal Nehra
Responsible for all digital marketing activities. (https://decipherzone.com)
Recommended articles for you