Will sfs2x support clustering?

Post here your questions about the Unity / .Net / Mono / Windows 8 / Windows Phone 8 API for SFS2X

Moderators: Lapo, Bax

liverol
Posts: 31
Joined: 15 Jul 2009, 23:49

Will sfs2x support clustering?

Postby liverol » 16 Nov 2011, 09:59

Just like the title,will sfs2x support clustering like sfs 1.6x version?
Currently we are using sfs2x to develop a mmo demo,we really don't
want to switch to another product(like photon) because sfs2x is handy.
Do sfs team has a sustainable plan to improve sfs2x? we all know there are some competitive product like uLink,photon,electrotank..,most of them update often,so sfs2x please keep up!!! :)
User avatar
Bax
Site Admin
Posts: 4609
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Postby Bax » 17 Nov 2011, 12:01

Our documentation for clustering SFS 1.x with Terracotta refers to the 2.x version of the Terracotta SDK. Unfortunately with the introduction of version 3.x (over a year ago) the tool has steered from its original intention and has become a very sophisticated caching system.
They have hidden all of the DSO from the developer's perspective and they don't even recommend to use it, which is too bad.
This way Terracotta doesn't work anymore as a transparent clustering engine, instead it requires a tight integration with their API as any other similar technology. This is why we discontinued the integration with SFS2X.
Paolo Bax
The SmartFoxServer Team
liverol
Posts: 31
Joined: 15 Jul 2009, 23:49

Postby liverol » 18 Nov 2011, 01:01

Thanks for the info,that helps a lot for making our direction,
So do we have another option when we want to build some server group?
User avatar
Bax
Site Admin
Posts: 4609
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Postby Bax » 18 Nov 2011, 11:48

The simplest and most effective way to cluster SFS is to run as many instances you need in the cloud (for example using RightScale, which we support directly).

The key question is "How to share state" across multiple servers?
Answer --> It depends.
Most of our customers do it via a central DB cluster. Why? Because a DB cluster is easier to setup than a socket-based server and because there are many options on which solution to use (RDBMS like MySQL, NOSQL such as Couch or MongoDB, etc).

We have very large customers (with tens of SFS PRO instances running in parallel) who never went with the Terracotta solution - avoiding is complexities (and testing difficulties) - but adopting the parallel instances solution.
Paolo Bax
The SmartFoxServer Team
User avatar
hoangdoanh
Posts: 253
Joined: 21 Jun 2013, 04:54
Location: Vietnam

Re: Will sfs2x support clustering?

Postby hoangdoanh » 08 Jul 2013, 07:17

Hi Bax

Also for how to share state among server instances by using central DB cluster. We know that accessing db often slower than accessing Lan and Memory. And for online game we often need good responsiveness from server. So as I understand only database is not enough to support. We need also caching system like Memcache, Ehcache, etc,.. to speed up process.

My questions is : Is database with caching system is enough for supporting MMO game that is deployed in cluster of SFS Instances ?

Doanh
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Will sfs2x support clustering?

Postby Lapo » 08 Jul 2013, 09:11

Yes in general term it is.
Terracotta seems also a good solution to get partially or completely rid of a database.
Lapo
--
gotoAndPlay()
...addicted to flash games
User avatar
hoangdoanh
Posts: 253
Joined: 21 Jun 2013, 04:54
Location: Vietnam

Re: Will sfs2x support clustering?

Postby hoangdoanh » 10 Jul 2013, 02:51

Hi Lapo

Thanks you for this information

Doanh

Return to “SFS2X C# API”

Who is online

Users browsing this forum: No registered users and 21 guests