<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Ajax and Flex Data Loading Benchmarks</title>
	<atom:link href="http://www.jamesward.com/2007/04/30/ajax-and-flex-data-loading-benchmarks/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jamesward.com/2007/04/30/ajax-and-flex-data-loading-benchmarks/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ajax-and-flex-data-loading-benchmarks</link>
	<description>Heroku &#124; Java &#124; Scala &#124; Cloud &#124; Open Source &#124; Linux</description>
	<lastBuildDate>Wed, 08 Feb 2012 20:55:51 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: James Ward</title>
		<link>http://www.jamesward.com/2007/04/30/ajax-and-flex-data-loading-benchmarks/comment-page-2/#comment-164804</link>
		<dc:creator>James Ward</dc:creator>
		<pubDate>Tue, 13 Dec 2011 00:16:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.jamesward.org/wordpress/2007/04/30/ajax-and-flex-data-loading-benchmarks/#comment-164804</guid>
		<description>Really?</description>
		<content:encoded><![CDATA[<p>Really?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jj</title>
		<link>http://www.jamesward.com/2007/04/30/ajax-and-flex-data-loading-benchmarks/comment-page-2/#comment-164803</link>
		<dc:creator>Jj</dc:creator>
		<pubDate>Mon, 12 Dec 2011 23:54:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.jamesward.org/wordpress/2007/04/30/ajax-and-flex-data-loading-benchmarks/#comment-164803</guid>
		<description>alert(’Testing For XSS Hole’)</description>
		<content:encoded><![CDATA[<p>alert(’Testing For XSS Hole’)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew Trice &#187; Blog Archive &#187; AMF vs. JSON in AIR Mobile Applications</title>
		<link>http://www.jamesward.com/2007/04/30/ajax-and-flex-data-loading-benchmarks/comment-page-2/#comment-164641</link>
		<dc:creator>Andrew Trice &#187; Blog Archive &#187; AMF vs. JSON in AIR Mobile Applications</dc:creator>
		<pubDate>Mon, 07 Nov 2011 19:38:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.jamesward.org/wordpress/2007/04/30/ajax-and-flex-data-loading-benchmarks/#comment-164641</guid>
		<description>[...] Adobe Evangelist James Ward put together a suite of benchmarks comparing JSON, SOAP, and AMF that show comparable performance between AMF and JSON.   Recently, AIR 3.0 and Flash Player 11 [...]</description>
		<content:encoded><![CDATA[<p>[...] Adobe Evangelist James Ward put together a suite of benchmarks comparing JSON, SOAP, and AMF that show comparable performance between AMF and JSON.   Recently, AIR 3.0 and Flash Player 11 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sebastien Arbogast</title>
		<link>http://www.jamesward.com/2007/04/30/ajax-and-flex-data-loading-benchmarks/comment-page-2/#comment-163370</link>
		<dc:creator>Sebastien Arbogast</dc:creator>
		<pubDate>Sun, 22 May 2011 12:26:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.jamesward.org/wordpress/2007/04/30/ajax-and-flex-data-loading-benchmarks/#comment-163370</guid>
		<description>I&#039;d be curious to see how it compares to http://msgpack.org/</description>
		<content:encoded><![CDATA[<p>I&#8217;d be curious to see how it compares to <a href="http://msgpack.org/" rel="nofollow">http://msgpack.org/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Leonardo Leon</title>
		<link>http://www.jamesward.com/2007/04/30/ajax-and-flex-data-loading-benchmarks/comment-page-2/#comment-162896</link>
		<dc:creator>Leonardo Leon</dc:creator>
		<pubDate>Sat, 02 Apr 2011 17:48:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.jamesward.org/wordpress/2007/04/30/ajax-and-flex-data-loading-benchmarks/#comment-162896</guid>
		<description>Thank you very much, I&#039;m very grateful for your time.</description>
		<content:encoded><![CDATA[<p>Thank you very much, I&#8217;m very grateful for your time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Ward</title>
		<link>http://www.jamesward.com/2007/04/30/ajax-and-flex-data-loading-benchmarks/comment-page-2/#comment-162895</link>
		<dc:creator>James Ward</dc:creator>
		<pubDate>Sat, 02 Apr 2011 17:29:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.jamesward.org/wordpress/2007/04/30/ajax-and-flex-data-loading-benchmarks/#comment-162895</guid>
		<description>AMF doesn&#039;t do any gzipping on it&#039;s own.  You must gzip it in your web server.  Check out:
http://wadearnold.com/blog/flash/gzip-compression-is-not-part-of-amf</description>
		<content:encoded><![CDATA[<p>AMF doesn&#8217;t do any gzipping on it&#8217;s own.  You must gzip it in your web server.  Check out:<br />
<a href="http://wadearnold.com/blog/flash/gzip-compression-is-not-part-of-amf" rel="nofollow">http://wadearnold.com/blog/flash/gzip-compression-is-not-part-of-amf</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Leonardo Leon</title>
		<link>http://www.jamesward.com/2007/04/30/ajax-and-flex-data-loading-benchmarks/comment-page-2/#comment-162894</link>
		<dc:creator>Leonardo Leon</dc:creator>
		<pubDate>Sat, 02 Apr 2011 17:24:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.jamesward.org/wordpress/2007/04/30/ajax-and-flex-data-loading-benchmarks/#comment-162894</guid>
		<description>Thanks for your anwers.

How can I be sure that AMF is being gzipped, because I have the same issue.</description>
		<content:encoded><![CDATA[<p>Thanks for your anwers.</p>
<p>How can I be sure that AMF is being gzipped, because I have the same issue.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Ward</title>
		<link>http://www.jamesward.com/2007/04/30/ajax-and-flex-data-loading-benchmarks/comment-page-2/#comment-162893</link>
		<dc:creator>James Ward</dc:creator>
		<pubDate>Sat, 02 Apr 2011 17:14:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.jamesward.org/wordpress/2007/04/30/ajax-and-flex-data-loading-benchmarks/#comment-162893</guid>
		<description>It appears that the AMF is not actually being gzipped.  That is probably a bug in Census.  With 5000 rows and gzip the AMF is 28K.  The same 5000 rows with XML and gzip is the 48K that you see.

In Census2 the reported transfer sizes are accurate and gzip works correctly.

One big reason that AMF is smaller than XML even without gzip is because AMF only puts the object metadata into the stream once.  Whereas in XML it is constantly repeated.  In the case of Census, the string &quot;classOfWorker&quot; is in the stream 10,000 times for 5,000 rows because there is an open and close tag for each time that property is sent.  In AMF the string &quot;classOfWorker&quot; is only put into the stream once.  If you want to learn more about AMF check out the spec:
http://opensource.adobe.com/wiki/download/attachments/1114283/amf3_spec_05_05_08.pdf?version=1</description>
		<content:encoded><![CDATA[<p>It appears that the AMF is not actually being gzipped.  That is probably a bug in Census.  With 5000 rows and gzip the AMF is 28K.  The same 5000 rows with XML and gzip is the 48K that you see.</p>
<p>In Census2 the reported transfer sizes are accurate and gzip works correctly.</p>
<p>One big reason that AMF is smaller than XML even without gzip is because AMF only puts the object metadata into the stream once.  Whereas in XML it is constantly repeated.  In the case of Census, the string &#8220;classOfWorker&#8221; is in the stream 10,000 times for 5,000 rows because there is an open and close tag for each time that property is sent.  In AMF the string &#8220;classOfWorker&#8221; is only put into the stream once.  If you want to learn more about AMF check out the spec:<br />
<a href="http://opensource.adobe.com/wiki/download/attachments/1114283/amf3_spec_05_05_08.pdf?version=1" rel="nofollow">http://opensource.adobe.com/wiki/download/attachments/1114283/amf3_spec_05_05_08.pdf?version=1</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Leonardo Leon</title>
		<link>http://www.jamesward.com/2007/04/30/ajax-and-flex-data-loading-benchmarks/comment-page-2/#comment-162892</link>
		<dc:creator>Leonardo Leon</dc:creator>
		<pubDate>Sat, 02 Apr 2011 16:52:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.jamesward.org/wordpress/2007/04/30/ajax-and-flex-data-loading-benchmarks/#comment-162892</guid>
		<description>With content-lenght I mean

This is with AMF: 86,33K
-  00:00:00.000    iexplore.exe[23208]  (Count=427, Sent=354,25 K, Received=1,88 M, ElapsedTime=1172,520 s)                                                                                                                                                                                    
   9          False    +01:47.422 s            1,763 s      POST    200     86,33 K   application/x-amf  http://www.jamesward.com/census/messagebroker/amf?id=flex_amf3&amp;gzip=true               

HTTP/1.1 200 OK
Date: Sat, 02 Apr 2011 14:40:11 GMT
Server: Apache-Coyote/1.1
X-Powered-By: Servlet 2.5; JBoss-5.0/JBossWeb-2.1
Cache-Control: no-cache
Expires: Sat, 25 Dec 1999 00:00:00 GMT
Pragma: no-cache
Content-Type: application/x-amf
Content-Length: 85972
Via: 1.1 www.jamesward.com
Keep-Alive: timeout=15, max=97
Connection: Keep-Alive

And this is with XML: 48,02K
-  00:00:00.000    iexplore.exe[23208]  (Count=427, Sent=354,25 K, Received=1,88 M, ElapsedTime=1172,520 s)                                                                                                                                                                                                             
   2          False    +13.977 s            1,811 s      GET     200     48,02 K   text/xml  http://www.jamesward.com/census/servlet/CensusServiceServlet?id=flex_xml_e4x&amp;command=getXML&amp;gzip=true&amp;rows=5000               

I noted that it is gziped.

In my test I use this php code: return simplexml_load_string($response);

I thought that if a php class return back a XML object using AMF it was going to be compressed thus less Kbytes. But in my case it is the same using HTTPService and AMF.

James, I&#039;m doing this just to understand the underhood of AMF, I know that I must use Value Objets to return data.</description>
		<content:encoded><![CDATA[<p>With content-lenght I mean</p>
<p>This is with AMF: 86,33K<br />
-  00:00:00.000    iexplore.exe[23208]  (Count=427, Sent=354,25 K, Received=1,88 M, ElapsedTime=1172,520 s)<br />
   9          False    +01:47.422 s            1,763 s      POST    200     86,33 K   application/x-amf  <a href="http://www.jamesward.com/census/messagebroker/amf?id=flex_amf3&#038;gzip=true" rel="nofollow">http://www.jamesward.com/census/messagebroker/amf?id=flex_amf3&#038;gzip=true</a>               </p>
<p>HTTP/1.1 200 OK<br />
Date: Sat, 02 Apr 2011 14:40:11 GMT<br />
Server: Apache-Coyote/1.1<br />
X-Powered-By: Servlet 2.5; JBoss-5.0/JBossWeb-2.1<br />
Cache-Control: no-cache<br />
Expires: Sat, 25 Dec 1999 00:00:00 GMT<br />
Pragma: no-cache<br />
Content-Type: application/x-amf<br />
Content-Length: 85972<br />
Via: 1.1 <a href="http://www.jamesward.com" rel="nofollow">http://www.jamesward.com</a><br />
Keep-Alive: timeout=15, max=97<br />
Connection: Keep-Alive</p>
<p>And this is with XML: 48,02K<br />
-  00:00:00.000    iexplore.exe[23208]  (Count=427, Sent=354,25 K, Received=1,88 M, ElapsedTime=1172,520 s)<br />
   2          False    +13.977 s            1,811 s      GET     200     48,02 K   text/xml  <a href="http://www.jamesward.com/census/servlet/CensusServiceServlet?id=flex_xml_e4x&#038;command=getXML&#038;gzip=true&#038;rows=5000" rel="nofollow">http://www.jamesward.com/census/servlet/CensusServiceServlet?id=flex_xml_e4x&#038;command=getXML&#038;gzip=true&#038;rows=5000</a>               </p>
<p>I noted that it is gziped.</p>
<p>In my test I use this php code: return simplexml_load_string($response);</p>
<p>I thought that if a php class return back a XML object using AMF it was going to be compressed thus less Kbytes. But in my case it is the same using HTTPService and AMF.</p>
<p>James, I&#8217;m doing this just to understand the underhood of AMF, I know that I must use Value Objets to return data.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Ward</title>
		<link>http://www.jamesward.com/2007/04/30/ajax-and-flex-data-loading-benchmarks/comment-page-2/#comment-162891</link>
		<dc:creator>James Ward</dc:creator>
		<pubDate>Sat, 02 Apr 2011 16:25:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.jamesward.org/wordpress/2007/04/30/ajax-and-flex-data-loading-benchmarks/#comment-162891</guid>
		<description>Wrapping XML in AMF actually increases the size and does not do anything to take advantage of the benefits of AMF.  AMF is a binary serialization format.  XML is a text serialization format.

I&#039;m not sure what you mean by the content-length being higher for AMF.  With Census the AMF transfer sizes are much lower than the XML transfer sizes.</description>
		<content:encoded><![CDATA[<p>Wrapping XML in AMF actually increases the size and does not do anything to take advantage of the benefits of AMF.  AMF is a binary serialization format.  XML is a text serialization format.</p>
<p>I&#8217;m not sure what you mean by the content-length being higher for AMF.  With Census the AMF transfer sizes are much lower than the XML transfer sizes.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

