all groups > macromedia flash flash remoting > october 2003 >
You're in the

macromedia flash flash remoting

group:

amf file size comparison


amf file size comparison hosey
10/31/2003 9:06:39 AM
macromedia flash flash remoting:
I am using xml in flash to send/receive data. I have not used remoting.
What is the benefit on the network of flash remoting. My xml get to be
500kb, what might an equivalent AMF send be?
Re:amf file size comparison lilac
11/2/2003 12:08:30 AM
I don't think there is a standard size formula for comparing XML data to AMF data. XML data can become bloated when tag names are longer, there are a lot of nested tags used for element data, or a lot of records, because the tag names, < > characters, quotes, and whitespace are all added to your data set. AMF is a binary format that is optimized for sending data back and forth between remote systems, so you can expect it to be more efficient for large amounts of data. There are also known problems and possible memory leaks with XML in Flash. You may want to read this article about SOAP vs. Flash Remoting:


http://www.codealloy.com/soapvsremoting.htm

-----------------------
Lilac Ezer

http://www.codealloy.com
http://lilacezer.blogspot.com



Re: amf file size comparison hoseyhosey
11/2/2003 8:42:41 PM
You hit both my question. Thanks. If it was one node with a attribute
whose value was 4000 characters, and all you needed was the characters.
Is there a file size difference?

Thanks

[quoted text, click to view]
AddThis Social Bookmark Button