A Method for Fast Leaderboard Calculations in Massive Online Game-Based Environments

Leaderboards and other game elements are present in many online environments, not just in videogames. When such environments have relatively few users, the implementation of those leaderboards is not usually a problem; however, that is no longer the case when they have dozens of thousands or more. F...

Full description

Bibliographic Details
Main Authors: Julian Moreno Cadavid, Hernán Darío Vanegas Madrigal
Format: Article
Language:English
Published: Hindawi Limited 2018-01-01
Series:International Journal of Computer Games Technology
Online Access:http://dx.doi.org/10.1155/2018/3234873
Description
Summary:Leaderboards and other game elements are present in many online environments, not just in videogames. When such environments have relatively few users, the implementation of those leaderboards is not usually a problem; however, that is no longer the case when they have dozens of thousands or more. For those situations we propose a method that is easy and cheap to implement. It is based on two particular data structures, a Self-Balanced Ordering Statistic Tree and a hash table, to perform proper leaderboard calculations in a fast and cheap way. More specifically, our proposal has O(log2⁡N) time complexity, whereas other approaches also based on in-memory data structures like linked lists have O(N), and others based on Hard Disk Drive operations like a relational database have O(Nlog2⁡N). Such improvement with regard to the other approaches is corroborated with experimental results for several scenarios, also presented in this paper.
ISSN:1687-7047
1687-7055