Page 4 of 5
Posted: 30 Jun 2010, 19:29
by willf
I have read through the documentation and I am confused regarding the notion that smartfox "supports" clustering.
Does any part of smartfox internals get put in the distributed heap? From what I gather from the docs is that only extension objects utilize terracotta. The smartfox internal objects such as list of users connected to a particular zone are not distributed - is this correct?
Because is there some sort of configuration switch that says "hey smartfox i want you to run in cluster mode". As far as I know, and please correct me if i'm wrong, smartfox itself, doesn't know or care about terracotta/clustering, since we only distribute the extension state.
If this is the case, then what about a PRO license enables the use of clustering if nothing changes with regards to smartfox except for the start up script?
Posted: 01 Jul 2010, 14:42
by Lapo
Does any part of smartfox internals get put in the distributed heap? From what I gather from the docs is that only extension objects utilize terracotta. The smartfox internal objects such as list of users connected to a particular zone are not distributed - is this correct?
Exactly correct. The extension gets distributed and if you need specific server core objects in the cluster too you can build wrapper classes around them. (see the whitepaper for details on this)
If this is the case, then what about a PRO license enables the use of clustering if nothing changes with regards to smartfox except for the start up script?
I don't understand the question...
There is no such thing as a license for clustering.
There will be one for the new upcoming SFS2X, but that's a completely different story.
Posted: 01 Jul 2010, 17:42
by willf
Oh I was referring to the product sheet where you list
Lite , Basic, Pro - on the website
It looks like only PRO supports clustering according to that product comparison.
Posted: 01 Jul 2010, 19:28
by willf
Also can you send me the sample code for the white paper.
will@astroapestudios.com
thanks!

Posted: 09 Jul 2010, 15:15
by rgalvao
Hi,
Please send the examples to me also: inovora () gmail com
Just to be clear about the business model regarding clustering:
Suppose I need to use clustering in a set of Amazon EC2 instances. Each instance will have Smartfoxserver + Terracotta installed then. Do I need a SFS license for each EC2 instances? In other words, do I need to pay 2000 euros for each spawned instance?
TIA,
r.
Posted: 10 Jul 2010, 00:21
by rgalvao
Another question.
Does a game with these characteristics:
* each match needs two players
* a load of 5000 simultaneous matches (so 10k users)
* turn based and each player has 5 seconds to make his move
* think of it as a turn based air hockey type of game, like
http://www.flipside5.com/products/touch_hockey/
http://www.youtube.com/watch?v=6fB49bmJ_dQ
runs on an amazon cloud with this setup (2 machines):
-- EC2 (smallest machine type m1.small)
-- RDS (mysql)
if not, is terracotta necessary?
Thanks for any information,
r.
Posted: 10 Jul 2010, 08:06
by Lapo
rgalvao
Mail sent.
Suppose I need to use clustering in a set of Amazon EC2 instances. Each instance will have Smartfoxserver + Terracotta installed then.
A basic Terracotta cluster is composed of two machines: the Terracotta server and the SmartFoxServer node. Of course to really benefit from clustering you will need multiple nodes and at least 2 TC servers, one active and one passive.
Do I need a SFS license for each EC2 instances? In other words, do I need to pay 2000 euros for each spawned instance?
Yes that's correct. Whether or not you use TC the SmartFox licensing model doesn't change. One license per IP address.
As regards the game you have described Terracotta doesn't seem to be indispensable. 10K users can usually be handled by a good dual/quad core with 2GB of RAM.
This document might be of help:
http://www.smartfoxserver.com/whitepapers/performance/
Of course Terracotta adds high availability and more advanced features, but it's usually targeted at higher traffic sites. (100K+)
Posted: 26 Jul 2010, 13:15
by vadim
Lapo,
Can you please send me the sources?
Thanks,
chad@ozarkanimation.com
Posted: 26 Jul 2010, 13:17
by vadim
Lapo,
Can you please send me the sources?
Thanks,
vadim@qlipso.com
Sorry, for my previous message mistake

Posted: 26 Jul 2010, 18:44
by Lapo
The sources where sent to the previous address, didn't you get it?
Posted: 27 Jul 2010, 07:05
by vadim
Previous address is wrong

Posted: 27 Jul 2010, 07:15
by Lapo
done
need source
Posted: 09 Sep 2010, 12:01
by nschommer
Lapo,
Could you please send me the sources? nschommer ( at ) pillar4 dot com
Thank you!
Sources please
Posted: 13 Sep 2010, 18:00
by nschommer
Lapo,
I have not yet received the sources, could you please resend?
nschommer@pillar4.com
thank you!
Posted: 18 Nov 2010, 21:13
by Dovilio
Hi Lapo
Could you send me this samples?
dovilios@techresult.com.br
Thank´s