Page 2 of 2
Posted: 10 Jan 2011, 08:30
by rav
Lapo wrote:Ah... that is something we don't discuss in the board yet, sorry.
Maybe you can drop us an email directly and we'll give you some more details.
Sorry Lapo, but nothing on my e-mail
Posted: 20 Jan 2011, 14:26
by drh_qtm
I can see that SFS2 has an Object called DataStore which has a method postOffice and I can also see that SmartFoxServer has methods such as isClustered and setClustered but I can't find anything in the documentation about this. Is this something that isn't yet fully implemented in sfs or am I just not looking in the right place?
Posted: 20 Jan 2011, 15:15
by Lapo
It's for future implementations

Re: 2X + Clustering
Posted: 07 Mar 2012, 13:18
by set_a
Hi
Since clustering with Terracotta is not possible
http://www.smartfoxserver.com/support/faq#BT06
I decided to do next: several sfs2x servers and cluster database.
But I have a problem, I need to send messages to users located on other sfs2x servers . How should I do it?
Thanks
Re: 2X + Clustering
Posted: 07 Mar 2012, 13:25
by drh_qtm
check out reddis pubsub. (
http://redis.io/topics/pubsub) we were using terracotta but now use this. Works great.
Re: 2X + Clustering
Posted: 07 Mar 2012, 14:21
by Lapo
Could you elaborate a bit more on how this works with SFS2X?
Thanks
Re: 2X + Clustering
Posted: 22 Mar 2012, 07:52
by set_a
Hi,
We have two physical servers with Smartfox running on them. How could we establish connection between these servers in order to send(exchange) user messages with paramters between two servers? Is it possible at all for users on different physical servers to send messages to each other? Please, also add code examples if possible.
Thanks in advance
Re: 2X + Clustering
Posted: 22 Mar 2012, 09:16
by Lapo
There can be several ideas that can be implemented in your extension code:
1- using regular socket connections between the two servers
2- using Java RMI,
http://docs.oracle.com/javase/tutorial/rmi/
2- using JMS (Java Messaging Services),
http://java.sun.com/developer/technical ... merce/jms/
3- for the most adventurous a remote Actor-based library such as Akka