Page 1 of 1

Java vs Actionscript extension

Posted: 07 Apr 2010, 10:22
by Kleon
Hi,

Smartfoxserver "Scalability F.A.Q" says that:
Java extensions perform better than those written in Actionscript and Python. If you really want the ultimate performance, write your extension in Java

I have a chat application with reputation feature and several methods for users interaction. All logic is wrote in 2 extension files (about 20-30 functions total) on actionscript.

Could you provide me any idea how application capacity is increased if I move extension logic to Java?

Posted: 07 Apr 2010, 10:27
by smoochict
Hello,

I'm pretty sure that the capacity of the number of users the server can handle will not be effected with actionscript or java.

Java extensions just provide tons/more options/features for your extensions.

Personally, i think java extensions actually put a bit more load on the server.

Posted: 08 Apr 2010, 06:14
by Kleon
Thanks for the answer,

I have indicated that "SmartFoxServer-Clustering.pdf" document described solutions using Java. Have I any chance to use Terracotta+Smartfox solution with Actionscript server extensions?

I would like to build great system for tens thousand of concurrent users with great expansibility for further growing. Could you recommend me some basic approach for SmartFoxServerPRO + Terracotta?

Posted: 08 Apr 2010, 09:13
by Lapo
Kleon:
We have discussed this topic quite a lot in these forums. I would recommend to use the search function. For example read here:
http://forums.smartfoxserver.com/viewtopic.php?t=6807&
I have indicated that "SmartFoxServer-Clustering.pdf" document described solutions using Java. Have I any chance to use Terracotta+Smartfox solution with Actionscript server extensions?
This is not possible because Actionscript Objects are not "portable" by Terracotta. Even if they were I wouldn't recommend it because these objects are way heavier than Java native objects.

The to go is definitely Java for very high scalability.

Posted: 08 Apr 2010, 09:52
by Kleon
Thank you :D