{"id":6,"date":"2007-08-02T10:19:58","date_gmt":"2007-08-02T07:19:58","guid":{"rendered":"http:\/\/www.held.org.il\/blog\/?p=6"},"modified":"2007-08-02T10:19:58","modified_gmt":"2007-08-02T07:19:58","slug":"ajax-parallelism","status":"publish","type":"post","link":"http:\/\/www.held.org.il\/blog\/2007\/08\/ajax-parallelism\/","title":{"rendered":"Ajax Parallelism"},"content":{"rendered":"<p>I've been asked to run few ajax requests in parallel.<br \/>\nApparently the \"A\" in ajax stands for \"Asynchronous\", so each HTTP request made is <strong>non-blocking <\/strong>and unlimited HTTP requests should be made in parallel.<\/p>\n<p>However, the browser limits the number of connections to a specific HTTP server. This is not a bad browser design: it's according to HTTP 1.1.<\/p>\n<p align=\"left\">This can be tweaked (and thus breaking HTTP 1.1 compatibility):<\/p>\n<p align=\"left\"><strong>FF:<\/strong> <em>about:config <\/em>-&gt; <em>network.http.max-persistent-connections-per-server<\/em><\/p>\n<p><strong>MSIE:<\/strong><em> HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\MaxConnectionsPerServer<\/em> (create it even if it doesn't exist, DWORD value)<\/p>\n<p>Refs: <a title=\"MS Knowledge Base #183110\" href=\"http:\/\/http\/\/support.microsoft.com\/kb\/183110\">http:\/\/support.microsoft.com\/kb\/183110<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been asked to run few ajax requests in parallel. Apparently the &#8220;A&#8221; in ajax stands for &#8220;Asynchronous&#8221;, so each HTTP request made is non-blocking and unlimited HTTP requests should be made in parallel. However, the browser limits the number of connections to a specific HTTP server. This is not a bad browser design: it&#8217;s [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[15],"tags":[18,66,202],"_links":{"self":[{"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/posts\/6"}],"collection":[{"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/comments?post=6"}],"version-history":[{"count":0,"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/posts\/6\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/media?parent=6"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/categories?post=6"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.held.org.il\/blog\/wp-json\/wp\/v2\/tags?post=6"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}