Adaptive load-balancing for MMOG servers using KD-trees

In massively multiplayer online games (MMOGs) there is a great demand for high bandwidth connections with irregular access patterns. Such irregular demand is because players, who can vary from a few hundred to several tens of thousands, often occupy the virtual environment of the game in different ways with varying densities. Hence there is a great need for decentralized architectures with multiple servers that employ load-balancing algorithms to manage regions of the virtual environment. In such systems, each player only connects to the server that manages the region where the player's avatar is located, whereas each server is responsible for mediating the interaction between all pairs of players connected to it. Devising the proper load-balancing algorithm so that it takes spatial and variable occupations into account is a challenging problem which requires adaptive (and possibly dynamic) partitioning of the virtual environment. In this work, we propose the use of a kd-tree for partitioning the game environment into regions, and dynamically adjust the resulting subdivisions based on the distribution of avatars in the virtual environment. We compared our algorithm to competing approaches found in the literature and demonstrated that our algorithm performed better in most aspects we analyzed.

[1]  Carla Maria Dal Sasso Freitas,et al.  Broad-phase collision detection using semi-adjusting BSP-trees , 2005, I3D '05.

[2]  Gregor Schiele,et al.  Requirements of Peer-to-Peer-based Massively Multiplayer Online Gaming , 2007, Seventh IEEE International Symposium on Cluster Computing and the Grid (CCGrid '07).

[3]  Dongman Lee,et al.  A scalable dynamic load distribution scheme for multi-server distributed virtual environment systems with highly-skewed user distribution , 2003, VRST '03.

[4]  Michael Thornton Wyman,et al.  2 – World of Warcraft , 2011 .

[5]  Sonia Fahmy,et al.  Optimistic load balancing in a distributed virtual environment , 2006, NOSSDAV '06.

[6]  Marios Assiotis,et al.  A distributed architecture for MMORPG , 2006, NetGames '06.

[7]  Thorsten Hampel,et al.  A peer-to-peer architecture for massive multiplayer online games , 2006, NetGames '06.

[8]  Rynson W. H. Lau,et al.  A multi-server architecture for distributed virtual walkthrough , 2002, VRST '02.

[9]  Honghui Lu,et al.  Peer-to-peer support for massively multiplayer games , 2004, IEEE INFOCOM 2004.

[10]  Jon Louis Bentley,et al.  Multidimensional binary search trees used for associative searching , 1975, CACM.

[11]  Hannes Hartenstein,et al.  Stochastic properties of the random waypoint mobility model: epoch length, direction distribution, and cell change rate , 2002, MSWiM '02.

[12]  Shervin Shirmohammadi,et al.  A microcell oriented load balancing model for collaborative virtual environments , 2008, 2008 IEEE Conference on Virtual Environments, Human-Computer Interfaces and Measurement Systems.

[13]  Hanan Samet,et al.  Foundations of multidimensional and metric data structures , 2006, Morgan Kaufmann series in data management systems.

[14]  Klaus Wehrle,et al.  Peer-to-Peer-Based Infrastructure Support for Massively Multiplayer Online Games , 2007, 2007 4th IEEE Consumer Communications and Networking Conference.

[15]  Hossam S. Hassanein,et al.  Proceedings of the 6th ACM international workshop on Modeling analysis and simulation of wireless and mobile systems , 2003 .

[16]  Cláudio Fernando Resin Geyer,et al.  A load balancing scheme for massively multiplayer online games , 2009, Multimedia Tools and Applications.

[17]  Matt Samia,et al.  World of Warcraft , 2005, SIGGRAPH '05.

[18]  Cláudio Fernando Resin Geyer,et al.  A3: A Novel Interest Management Algorithm for Distributed Simulations of MMOGs , 2008, 2008 12th IEEE/ACM International Symposium on Distributed Simulation and Real-Time Applications.

[19]  Hiroaki Hazeyama,et al.  Zoned federation of game servers: a peer-to-peer approach to scalable multi-player online games , 2004, NetGames '04.

[20]  Abdennour El Rhalibi,et al.  Agents-based modeling for a peer-to-peer MMOG architecture , 2005, CIE.