List Info

Thread: Re: Smart Fox Server vs Flash Media Server




Re: Smart Fox Server vs Flash Media Server
user name
2007-02-01 12:06:07
> There's no fundamental reason why you can't do the
transformation into a
> number before sending, though. Just convert your number
into an array of
> 8-bit segments and send as UTF-8. Your binary number
65535 would appear as
> the string "ÿÿ" Obviously you'd have to
recast it to a number at the other
> end.

OK, just don't forget to make a special case for number 34.
;)

put chartonum(QUOTE)
-- 34

Regardless, the point was the protocol was heavier and now
you've traded off 
size for crunching/decrunching. What was gained?

Elia 

_______________________________________________
dirGames-L mailing list  -  dirGames-Lnuttybar.drama.uga.edu
http://nuttybar.drama.uga.edu/mailman/listinfo/dirgames
-l

Re: Smart Fox Server vs Flash Media Server
user name
2007-02-02 04:42:31
Question: 
Is the new AS3.0 Binary Socket class any faster than the
XMLSocket class? Have you done any testing on using Smartfox
with the Binary socket?  

SmartFox: 
Yes it is. Haven't done specific tests in that area but of
course the new JIT compiler inside the AVM2 boost the
performance quite a bit!  

The current client AS 3.0 APIs do use the binary socket
classes, not the XMLSocket.  

Question: 
I'm wondering if there is less performance overhead, or even
if it helps to decrease the byte size of the messaging?  

SmartFox: 
Yeah, we have plans to switch to a fully binary protocol
that can be turned on/off depending if you use an AS 3.0
client or not. 
This will definitely save a lot of bandwidth. 

Question: 
So far on my Smartfox Pro project I never use XML, I try to
be very obsessive about keeping my messaging as tight as
possible  

SmartFox: 
Sure, it's the right approach.

/Elia
_______________________________________________
dirGames-L mailing list  -  dirGames-Lnuttybar.drama.uga.edu
http://nuttybar.drama.uga.edu/mailman/listinfo/dirgames
-l

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )