Game server

Last updated

A game server (also sometimes referred to as a host) is a server which is the authoritative source of events in a multiplayer video game. The server transmits enough data about its internal state to allow its connected clients to maintain their own accurate version of the game world for display to players. They also receive and process each player's input.

Contents

Types

Dedicated server

Dedicated servers simulate game worlds without supporting direct input or output, except that required for their administration. Players must connect to the server with separate client programs in order to see and interact with the game. [1] [2]

The foremost advantage of dedicated servers is their suitability for hosting in professional data centers, with all of the reliability and performance benefits that entails. Remote hosting also eliminates the low-latency advantage that would otherwise be held by any player who hosts and connects to a server from the same machine or local network. [1]

Dedicated servers cost money to run, however. Cost is sometimes met by a game's developers (particularly on consoles) and sometimes by clan groups, but in either case, the public is reliant on third parties providing servers to connect to. For this reason, most games which use dedicated servers also provide listen server support. [1] Players of these games will oftentimes host servers for the public and their clans, either by hosting a server instance from their own hardware, or by renting from a game server hosting provider.

What are the components of a dedicated game server?

A dedicated game server contains many similar components as a computer, the big difference is the computing power needed for a game server is a lot higher than that of a normal PC. A dedicated game server contains the following components:

How a server Tower can look Server tower icon.jpg
How a server Tower can look

Shared hardware for game servers

Normally dedicated game servers always use the latest hardware of enterprize quality. This is because the hosting of a dedicated game server is often shared and many different instances are hosted within the same server. Imagine the server as a big unit split into several smaller compartments. Where each compartments size depends on how big the hosted server is and how much hardware has been assigned to it. For example a hosting provider may rent out a server with 8gb of ram and 50 GB of storage, then you can pay extra for the different CPU priority levels. A good thing to keep in mind when comparing game hosting is too try and buy as much RAM and as high CPU priority as possible for an as cheap price as possible, since these two components is what keeps your server from lagging and offers the most value for money.

Listen server

Listen servers run in the same process as a game client. They otherwise function like dedicated servers, but typically have the disadvantage of having to communicate with remote players over the residential internet connection of the hosting player. Performance is also reduced by the simple fact that the machine running the server is also generating an output image. Furthermore, listen servers grant anyone playing on them directly a large latency advantage over other players and cease to exist when that player leaves the game. [1] [3]

However, listen servers have the advantage of being essentially free and not requiring any special infrastructure or forward planning to set up, which makes them common at LAN parties where latency and bandwidth issues are not a concern. They are also common in console games.

Host migration

In a listen server arrangement, "host migration" is a useful feature. Without host migration, if the player that is currently hosting disconnects for any reason (quitting, crashing, lost network connection, etc.), the current server stops functioning and gameplay ends. A host migration feature allows one of the other players to become designated as the new host, so that the game can continue.

Peer-to-Peer

In the client/server model outlined elsewhere in this article, clients receive processed data from the server and display it without much thought. In the alternative "peer-to-peer" model there is no server: each "peer" instead receives the raw input streams of each other player and determines the results itself. [4]

Peer-to-peer is generally considered obsolete for action games, but it is still common in the real-time strategy genre due to its suitability for games with large numbers of tokens and small numbers of players. Instead of constantly transmitting the positions of 1000 troops, the game can make a one-off transmission of the fact that 1000 troops are selected and that the player in command of them just issued a move order. [4]

However, peer-to-peer has many disadvantages: [4]

Listen-peer

Multiple listen servers collectively peer amongst themselves for listen-peer setting. This type of setting avoids the disadvantages of peer-to-peer communications among all clients and is a better alternative to dedicated servers for increased number of clients.[ citation needed ]

Tickrate

The rate at which a game server runs simulation steps is commonly referred to as its "tickrate". A "tick" is a number associated with each simulation step which is broadcast to clients to help them synchronise with the server.{9}

There are three reasons to limit the frequency of server simulation steps to a predefined tickrate: to conserve server and client bandwidth, to conserve server CPU time, and to allow clients to be certain of how much time has elapsed between each tick. The last point is important for internet games, as network updates from the server can arrive at different intervals or even an incorrect order. [5]

Customization

Servers, particularly those of PC games, can generally be customized in ways that still allow unaltered clients to connect to them. These customizations can include tweaks to built-in game settings, content that is downloaded by clients when they join the game, [6] and new code which changes the way that the server behaves. [7]

While server customization is popular with server administrators and players, it can be at odds with the desire of developers and other players for the game to be experienced as intended. [8] [9] It can also aggravate players by enabling abusive administrators to lie about what their server offers. [10]

See also

Related Research Articles

<span class="mw-page-title-main">Cache (computing)</span> Additional storage that enables faster access to main storage

In computing, a cache is a hardware or software component that stores data so that future requests for that data can be served faster; the data stored in a cache might be the result of an earlier computation or a copy of data stored elsewhere. A cache hit occurs when the requested data can be found in a cache, while a cache miss occurs when it cannot. Cache hits are served by reading data from the cache, which is faster than recomputing a result or reading from a slower data store; thus, the more requests that can be served from the cache, the faster the system performs.

<span class="mw-page-title-main">Thin client</span> Non-powerful computer optimized for remote server access

In computer networking, a thin client is a simple (low-performance) computer that has been optimized for establishing a remote connection with a server-based computing environment. They are sometimes known as network computers, or in their simplest form as zero clients. The server does most of the work, which can include launching software programs, performing calculations, and storing data. This contrasts with a rich client or a conventional personal computer; the former is also intended for working in a client–server model but has significant local processing power, while the latter aims to perform its function mostly locally.

<span class="mw-page-title-main">Video game console</span> Computer system for running video games

A video game console is an electronic device that outputs a video signal or image to display a video game that can be played with a game controller. These may be home consoles, which are generally placed in a permanent location connected to a television or other display devices and controlled with a separate game controller, or handheld consoles, which include their own display unit and controller functions built into the unit and which can be played anywhere. Hybrid consoles combine elements of both home and handheld consoles.

A massively multiplayer online game is an online video game with a large number of players on the same server. MMOs usually feature a huge, persistent open world, although there are games that differ. These games can be found for most network-capable platforms, including the personal computer, video game console, or smartphones and other mobile devices.

In computer networking, a network service is an application running at the network application layer and above, that provides data storage, manipulation, presentation, communication or other capability which is often implemented using a client–server or peer-to-peer architecture based on application layer network protocols.

<span class="mw-page-title-main">Cheating in online games</span> Practice of subverting video game rules or mechanics to gain an unfair advantage

On online games, cheating subverts the rules or mechanics of the games to gain an unfair advantage over other players, generally with the use of third-party software. What constitutes cheating is dependent on the game in question, its rules, and consensus opinion as to whether a particular activity is considered to be cheating.

<i>Quake</i> engine Video game engine developed by id Software

The Quake engine is the game engine developed by id Software to power their 1996 video game Quake. It featured true 3D real-time rendering and since 2012, licensed under the terms of GNU General Public License v2.0 or later.

<span class="mw-page-title-main">PC game</span> Electronic game played on a personal computer

A personal computer game, also known as a computer game or abbreviated PC game, is an electronic game played on a personal computer (PC) and form of video game. They are defined by the open platform nature of PC systems.

<span class="mw-page-title-main">Diskless node</span> Computer workstation operated without disk drives

A diskless node is a workstation or personal computer without disk drives, which employs network booting to load its operating system from a server.

Online games are video games played over a computer network. The evolution of these games parallels the evolution of computers and computer networking, with new technologies improving the essential functionality needed for playing video games on a remote server. Many video games have an online component, allowing players to play against or cooperatively with players across a network around the world.

In computing, virtualization or virtualisation in British English is the act of creating a virtual version of something at the same abstraction level, including virtual computer hardware platforms, storage devices, and computer network resources.

<span class="mw-page-title-main">Emulator</span> System allowing a device to imitate another

In computing, an emulator is hardware or software that enables one computer system to behave like another computer system. An emulator typically enables the host system to run software or use peripheral devices designed for the guest system. Emulation refers to the ability of a computer program in an electronic device to emulate another program or device.

Project Darkstar was an open-source MMOG middleware solution written in Java. Project Darkstar began as a personal project of Jeff Kesselman in 1999. It later became a research project at Sun Microsystems, and aimed to "help developers and operators avoid a range of serious, yet typical, problems associated with massive scale online games, virtual worlds, and social networking applications today, including zone overloading, data corruption, and server underutilization."

In computers, lag is delay (latency) between the action of the user (input) and the reaction of the server supporting the task, which has to be sent back to the client.

Cloud gaming, sometimes called gaming on demand or game streaming, is a type of online gaming that runs video games on remote servers and streams the game's output directly to a user's device, or more colloquially, playing a game remotely from a cloud. It contrasts with traditional means of gaming, wherein a game is run locally on a user's video game console, personal computer, or mobile device.

In multiplayer video games, matchmaking is the process of connecting players together for online play sessions.

<span class="mw-page-title-main">Classes of computers</span>

Computers can be classified, or typed, in many ways. Some common classifications of computers are given below.

Netcode is a blanket term most commonly used by gamers relating to networking in online games, often referring to synchronization issues between clients and servers. Players often infer "bad netcodes" when they experience lag or when their inputs are dropped. Common causes of such issues include high latency between server and client, packet loss, network congestion, and external factors independent to network quality such as frame rendering time or inconsistent frame rates. Netcodes may be designed to uphold a synchronous and seamless experience between users despite these networking challenges.

<span class="mw-page-title-main">Cross-platform play</span> Ability of players using different video game systems to play with each other simultaneously

In video games with online gaming functionality, also called cross-compatible play, cross-platform play, crossplay, or cross-play describes the ability of players using different video game hardware to play with each other simultaneously. It is commonly applied to the ability for players using a game on a specific video game console to play alongside a player on a different hardware platform such as another console or a computer. A related concept is cross-save, where the player's progress in a game is stored in separate servers, and can be continued in the game but on a different hardware platform.

<span class="mw-page-title-main">Steam Deck</span> Handheld gaming computer by Valve

The Steam Deck is a handheld gaming computer developed by Valve and released on February 25, 2022. The device uses Valve's Linux distribution SteamOS, which incorporates the namesake Steam storefront. SteamOS uses Valve's Proton compatibility layer, allowing users to run Windows applications and games. In addition to handheld use, the Steam Deck can be connected to a TV or monitor through a docking station and be used like a desktop computer or home video game console. In desktop mode, users can install Linux-based third-party applications.

References

  1. 1 2 3 4 Weilbacher, Michael (March 2012). "Dedicated Servers in Gears of War 3: Scaling to Millions of Players". GDC 2012. GDC Vault.
  2. Bernier, Yahn (2001). "Latency Compensating Methods in Client/Server In-game Protocol Design and Optimization". Valve . Retrieved 17 September 2011.
  3. "Mammoth Dedicated Server Guide | Installation (Computer Programs) | Server (Computing)" . Scribd. Retrieved 16 February 2020.
  4. 1 2 3 Fiedler, Glenn (24 January 2010). "What every programmer needs to know about game networking".
  5. "Source Multiplayer Networking". Valve Developer Community . Retrieved 13 February 2013.
  6. "HTTP Fast Download". Steam Support. Valve . Retrieved 5 May 2012.
  7. "Server Plugins". Valve Developer Community . Valve . Retrieved 5 May 2012.
  8. Bowling, Robert (21 October 2009). "Modern Warfare 2 For PC". Archived from the original on 21 October 2009.
  9. Denton, Jon (July 4, 2012). "Battlefield 3: How Fan-Run Servers Are Ruining DICE's Game". Eurogamer.
  10. Walker, Robin (12 March 2009). "And that's what ye git fer toochin that!". Team Fortress 2 Blog. Valve.