• Examples (iOS)
• Examples (Java/Android)
• Examples (C++)
Server API Documentation


» White papers

This page links a number of white papers which are meant to educate the readers on different aspects of multiplayer games and applications creation. In particular they should help companies to make the right decisions during all the phases of the game/application development, starting from the initial analysis and design up to the interpretation of testing results.

SmartFoxServer 2X Performance and Scalability

(569 KB)

This document discusses some fundamental aspects of the server performance and scalability topics, providing a detailed analysis of the many variables at play in evaluating the behavior of a multiplayer game server. It also shows the results of a series of tests that were performed in order to analyse the performance, stability and realiability of the SmartFoxServer 2X engine compared to other solutions adopted by our competitors.

SmartFoxServer 2X Server Architecture

(270 KB)

In this document we take an in-depth look at the best practices for deploying a multi-instance game server and the main strategies to simplify management and reduce costs.

SmartFoxServer 2X Security

(336 KB)

In this document we discuss the many security concerns that an online multiplayer game may encounter from both a client and server side perspective. We describe the best practices to secure SmartFoxServer from malicious users, harden the custom server side code and ultimately protect the system against massive attacks.

Running 100K concurrent users

(462 KB)

In this document we discuss a stress test session aimed at reaching 100 thousand CCU on a single SmartFoxServer 2X instance. We describe the hardware and server setting, the modality of the test and the results found.

SmartFoxServer 2X and Hazelcast integration

(401 KB)

An advanced article discussing how to integrate an in-memory data grid with multiple SmartFoxServer instances to create a fault tolerant system. The paper takes the Tris game example and explores ways of scaling it horizontally with multiple servers and a centralized data store. Additionally we discuss ways to tackle the load balancing and how to restart interrupted games.

NOTE: as a prerequisite we highly recommend that you are familiar with the basics of the Tris game example and the previous "SmartFoxServer 2X Server Architecture" white paper.

An App, a Marathon and an Astronaut

(462 KB)

In this article, Wayne Helman of A51 describes the project which brought the mobile app RunSocial, powered by SmartFoxServer, on the International Space Station, allowing astronaut Tim Peake of the European Space Agency (ESA) to run the London Marathon at an altitude of 400km high.