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 →
Starting from this new version, we completely reviewed the build process of the API.
This fixes some compatibility issues of the internal third-party libraries with module bundlers (like webpack) and also brings:
- reduced API file size (-41%)
- a source map to help debug the API, should unexpected issues show up in the future
- the official SFS2X API package for the npm package builder
- Node.js compatibility
As always, the new package is available on the download page of our website (other than in the npm repository, from now on).
In order to showcase the usage of the API with npm and webpack, we also released a variant Connector example describing the project setup and build process, including the new source mapping option.
In this article we’re going to address yet another oft-asked question regarding how SmartFoxServer uses memory and how to read the graph in the AdminTool’s Dashboard. Continue reading →
In this new installment we’re going to take a look at a list of tips to improve and optimize a SmartFoxServer 2X deployment.
The list is organized in several categories starting at the higher level of your application and proceeding towards the lower level setting of the server. Completing this process will help make a more secure and efficient deployment of your game server. Continue reading →
This time we’re going to take a look at the top common errors and pitfalls that can be easily avoided when developing and deploying a multiplayer game with SmartFoxServer 2X. The list is compiled from a selection of topics that are quite popular in our support forums.
Knowing about these common pitfalls can possibly save you a significant amount of time and head scratching. Let’s see what they are.
Continue reading →
In this new recipe we will take a look at how to optimize the Room List that SmartFoxServer 2X sends to each client.
Room Lists are very important to show players what is going on in the server and allow them to quickly find games to join. Sometimes, however, they can get too big and result in a waste of bandwidth and information overload for clients.
Continue reading →