Tag Archives: scalability

SmartFoxServer Cluster launch and new updates!

Hello,
we are pleased to announce that SmartFoxServer Cluster is finally here, as part of the tools in the Overcast cloud.

The new Cluster feature offers additional scalability super-powers to your SmartFoxServer based games with:

  • Automatic horizontal scaling
  • Automatic load balancing
  • Advanced cluster-wide matchmaking
  • Advanced monitoring and management via SFS2X AdminTool
  • Extended SFS2X client side API with new events and requests

Consult our website for more info on the Overcast cloud service

To learn more about the SmartFoxServer Cluster check the documentation website 

Also you can learn how to create SmartFoxServer Cluster applications in Unitythanks to a number of new detailed tutorials with source code that we have just released.

» Two months Cluster promotion

Starting today and until May 31st. 2023 all SmartFoxServer Cluster prices will be discounted by 20%

The promotion includes all prepaid server renewals until the end of the offer. After May 31st, server renewals will be reverted to the standard service price.

Load Balancing SmartFoxServer 2X with HAProxy

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.

Continue reading

SFS2X multi-threading demystified

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

JavaScript is back!

With the release of SFS2X 2.13 last week we’re happy to reintroduce JavaScript as a server side language. For those familiar with the history of SmartFoxServer, JavaScript has been available since the early days of SFS PRO for writing server side code, and it’s now coming back thanks to the latest improvements in JDK 7 and 8.

Continue reading

White paper: SmartFoxServer 2X and Hazelcast integration

Filetype-PdfWe 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.

SmartFoxServer in the cloud with Jelastic

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.

Continue reading