Raw data protocols

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

Moderators: Lapo, Bax

juancarlos
Posts: 69
Joined: 21 Dec 2007, 17:19
Contact:

Raw data protocols

Postby juancarlos » 12 Mar 2009, 09:38

You says in the Docs:
Raw data protocols for better data compression in real time games (SFS PRO)
allows to send raw string-based data enabling the developer to format the server messages the way he wants.
Realtime games network performance can be dramatically improved using this technique


But, why do you recommend it only for real time games?
Is there any disadvantage to not to recommend for turn-based games?
I mean: Why don't you recommend it for any application?
It seems that avoiding wasting bandwith is always good.
User avatar
cemuzunlar
Posts: 47
Joined: 26 Dec 2008, 00:45
Contact:

Postby cemuzunlar » 12 Mar 2009, 13:33

You can use raw data protocols in any project but you better not to unless required because it is harder to use raw data protocols than simply sending AS objects.
Realtime games send/receive many messages in just one second. So it makes sense to take the hard way and optimize for the smaller data size.
Cem Uzunlar
Infosfer Game and Visualization Technologies
http://www.infosfer.com
contact@infosfer.com
juancarlos
Posts: 69
Joined: 21 Dec 2007, 17:19
Contact:

Postby juancarlos » 16 Mar 2009, 07:22

Ok, so, if I have understood well, raw data protocol is always faster, but it's harder to programme, right?
User avatar
cemuzunlar
Posts: 47
Joined: 26 Dec 2008, 00:45
Contact:

Postby cemuzunlar » 16 Mar 2009, 08:15

Yes, they are faster and bandwidth efficient.
Cem Uzunlar

Infosfer Game and Visualization Technologies

http://www.infosfer.com

contact@infosfer.com

Return to “SmartFoxServer 1.x Discussions and Help”

Who is online

Users browsing this forum: No registered users and 19 guests