In this article we are going to explore several ways to use the open source HAProxy load balancer in conjunction with SFS2X, to increase the scalability and availability of a multiplayer project.
We are going to show different configurations for TCP and Websocket connections and several ways to setup the system for common use cases.
To get the most out of this tutorial we require a basic knowledge of what a Load Balancer is and how it works, and some familiarity with the basics of networking and the OSI Model.
In early November 2020 we have launched a new cloud service called Overcast which joins the family of SmartFoxServer products.
In this short series of articles we will be taking a look at how Overcast works, how to get started and and how it can help new or existing projects based on SmartFoxServer.
Often times articles in this blog are inspired by questions and issues raised by our users and this new entry is no exception. One aspect of SmartFoxServer that seems to intimidate developers is the multi-threaded environment behind custom Extensions, and the relative implications in terms of concurrency, scalability and performance.
In this new entry we’re going to demystify the subject and demonstrate how simple and painless is writing server side code, even when many other things are running concurrently. Continue reading
We have a new white paper available for download in our documentation website, called “SmartFoxServer 2X and Hazelcast integration“.
This is an advanced paper discussing how to integrate an in-memory data grid with multiple SmartFoxServer instances to create a fault tolerant system. The paper takes our classic 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.
We highly recommend that you’re already familiar with how the Tris game example works and also with out previous paper, SmartFoxServer 2X Server Architecture.
Recently we have announced a new partnership with cloud provider Jelastic to offer efficient and scalable cloud hosting for SmartFoxServer at very affordable prices.
In this article we’re going to explore the advantages of combining the two services, especially the ease of fine tuning the expenditure, which can be paramount for startups and independent game developers.