Java vs Actionscript extension

Need help with SmartFoxServer? You didn't find an answer in our documentation? Please, post your questions here!

Moderators: Lapo, Bax

Post Reply
Kleon
Posts: 37
Joined: 19 Mar 2010, 07:03

Java vs Actionscript extension

Post 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?
smoochict
Posts: 53
Joined: 18 Mar 2010, 06:21

Post 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.
Kleon
Posts: 37
Joined: 19 Mar 2010, 07:03

Post 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?
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post 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.
Lapo
--
gotoAndPlay()
...addicted to flash games
Kleon
Posts: 37
Joined: 19 Mar 2010, 07:03

Post by Kleon »

Thank you :D
Post Reply