API for director

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

Moderators: Lapo, Bax

User avatar
potmo
Posts: 154
Joined: 02 Feb 2007, 14:28
Location: Stockholm Sweden
Contact:

API for director

Postby potmo » 02 Feb 2007, 14:38

Hi!

Im working with Director and I dont know a lot of flash.
BUT I'd like to lern this SmartFox cos it really looks great and ive been searching for this for quite some while.

I Have some questions
*Have someone already done a API for director/shockwave or will I have to port the flash API to director myself?

*What will happen with the server with like 1000 simultaneus users? have anybody tested it?

*Will I have to buy one licence for each machine? My company got, i think, five game-servers around the world.

*How low ping times can you get if you run the client and the servern on the same machine or on the same loacl network?

Keep up the good work!
Nisse Bergman
Raketspel
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Postby Lapo » 03 Feb 2007, 09:34

Hello and welcome :)

*Have someone already done a API for director/shockwave or will I have to port the flash API to director myself?


One of the strengths of SmartFoxServer is the high level Flash APIs provided. They allow to easily control the server and transfer complex data between clients within a few lines of code. A similar framework is available on the server side to extend its features and implement server side logic.

With the great integration between Director and Flash I would recommend to embed a Flash control that acts as a bridge between Director and the server instead of re-implementing the protocol natively in Lingo.
Also I think that the overhead of the Flash-Director communication is negligible.

*What will happen with the server with like 1000 simultaneus users? have anybody tested it?

Sure! We run tons of tests on our server and we have a page with benchmarks here -> http://www.smartfoxserver.com/products/benchmarks.htm

1000 clients can usually be handled by any machine running at least a 1.5ghz or higher CPU. Of course if your application uses very complex server side logic you might need a more powerful hardware.
The server also scales very well with multi cpu machines allowing to handle hordes of clients on a single instance.

Will I have to buy one licence for each machine? My company got, i think, five game-servers around the world.

Each license is valid for 1 IP address.
So if you have multiple machines you will need to buy more licenses.
We can provide discounts for 3 or more licenses, you can contact us directly for more infos.

How low ping times can you get if you run the client and the servern on the same machine or on the same loacl network?

The server adds almost no delay to the network lag unless it is extremely loaded.
It can literally process many thousand requests per second.
Lapo
--
gotoAndPlay()
...addicted to flash games
User avatar
potmo
Posts: 154
Joined: 02 Feb 2007, 14:28
Location: Stockholm Sweden
Contact:

Postby potmo » 05 Feb 2007, 14:24

Some more questions:

*is it possible to have a cluster of computers running the same virual server or somehow connect them to eachother.

I mean can i have one compuer in the US and one in Spain with the same buddylist and the same users and so on?


*Is it possible to backup users and rooms in some easy way?
Nisse Bergman

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

Postby Lapo » 05 Feb 2007, 14:35

Nope. At the moment SmartFoxServer is not cluster-able so you can't have data replication among multiple instances. We have plans in this direction but not in the immediate future.

For the moment you can split your "virtual world" into regions or zones and handle them with multiple server instances running on multiple server machines.
You can share data across the entire virtual world by using a central database where all the instances connect to.

This is also a good solution to distribute the traffic load and avoid single point s of failure.
Lapo

--

gotoAndPlay()

...addicted to flash games
User avatar
Carl
Posts: 36
Joined: 22 Dec 2006, 20:40
Location: New York
Contact:

Someone is doing it

Postby Carl » 07 Feb 2007, 17:01

Someone on this forum is building a Smartfox / flash / Director bridge. He said it would be done in about 2 weeks.
Carl Lydon
Illustrator, animator, programmer
----------------------------------------
www.gametrust.com
www.chamberofchat.com
User avatar
potmo
Posts: 154
Joined: 02 Feb 2007, 14:28
Location: Stockholm Sweden
Contact:

Postby potmo » 09 Feb 2007, 13:09

thats cool i hope he'll let us know when hes ready (or she)
Nisse Bergman

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

Postby Lapo » 09 Feb 2007, 13:44

Sure, we'll keep you updated about the status of the Director API
Lapo

--

gotoAndPlay()

...addicted to flash games

Return to “SmartFoxServer 1.x Discussions and Help”

Who is online

Users browsing this forum: No registered users and 37 guests