<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Garage &#187; cloud</title>
	<atom:link href="https://invoicebus.com/garage/tag/cloud/feed/" rel="self" type="application/rss+xml" />
	<link>https://invoicebus.com/garage</link>
	<description>Blog about running a business and solving invoicing and billing problems</description>
	<lastBuildDate>Thu, 30 Apr 2026 14:15:43 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.1.41</generator>
	<item>
		<title>Distributing Content via CDN</title>
		<link>https://invoicebus.com/garage/distributing-content-via-cdn/</link>
		<comments>https://invoicebus.com/garage/distributing-content-via-cdn/#comments</comments>
		<pubDate>Tue, 22 May 2012 16:02:34 +0000</pubDate>
		<dc:creator><![CDATA[Stefan Chachovski]]></dc:creator>
				<category><![CDATA[Technical Stuff]]></category>
		<category><![CDATA[cdn]]></category>
		<category><![CDATA[cloud]]></category>
		<category><![CDATA[distributed]]></category>
		<category><![CDATA[hosting]]></category>

		<guid isPermaLink="false">http://garage.invoicebus.com/?p=1864</guid>
		<description><![CDATA[<p>The most requested Invoicebus files from now on are delivered via Akamai CDN at blazing speeds, improving the overall performances, while reducing the load time In one of the previous posts, we described how we host the Invoicebus site and introduced the term Cloud Files and CDN (Content Delivery Network). Because the user base of [&#8230;]<br />
<h3>Author information</h3>
<div class="ts-fab-wrapper" style="overflow:hidden">
<div class="ts-fab-photo" style="float:left;width:64px"><img alt='Stefan Chachovski' src='https://secure.gravatar.com/avatar/f03618a263cf869af3b1ebf44ebf6171?s=64&amp;d=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D64&amp;r=G' class='avatar avatar-64 photo' height='64' width='64' /></div>
<p><!-- /.ts-fab-photo -->
<div class="ts-fab-text" style="margin-left:74px">
<div class="ts-fab-header">
<h4><a href="http://twitter.com/chachovski">Stefan Chachovski</a></h4>
</div>
<p><!-- /.ts-fab-header -->
<div class="ts-fab-content" style="margin-bottom:0.5em">
<p>Co-founder of Invoicebus. Huge lover of nature, science, and chocolate cherry cordials. He occasionally writes on this blog about Invoicebus' stuff. Hello him on <a href="http://twitter.com/chachovski">Twitter</a> or subscribe to his updates on <a href="http://facebook.com/cacovski">Facebook</a>.</p>
</div>
<div class="ts-fab-footer"> | <a href="http://twitter.com/chachovski">Twitter</a> | <a href="http://www.facebook.com/cacovski">Facebook</a> | </div>
<p><!-- /.ts-fab-footer --></div>
<p><!-- /.ts-fab-text --></div>
<p><!-- /.ts-fab-wrapper --></p>
<p>The post <a rel="nofollow" href="https://invoicebus.com/garage/distributing-content-via-cdn/">Distributing Content via CDN</a> appeared first on <a rel="nofollow" href="https://invoicebus.com/garage">Garage</a>.</p>
]]></description>
				<content:encoded><![CDATA[<h2>The most requested Invoicebus files from now on are delivered via Akamai CDN at blazing speeds,  improving the overall performances, while reducing the load time</h2>
<div style="height:20px;"></div>
<p>In one of the <a href="http://garage.invoicebus.com/1277-sleep-tight-your-data-is-secure-part-5-hosting-server-security" title="Sleep tight, your data is secure, part 5 – Hosting Server Security">previous posts</a>, we described how we host the Invoicebus site and introduced the term Cloud Files and CDN (<a href="http://en.wikipedia.org/wiki/Content_delivery_network" title="Content Delivery Network - Wikipedia Description">Content Delivery Network</a>). Because the user base of Invoicebus constantly increases, we decided to deploy the most common content on Akamai CDN, so the users can feel the turbo charge of the bus <img src="https://invoicebus.com/garage/wp-includes/images/smilies/icon_smile.gif" alt=":)" class="wp-smiley" /></p>
<p><img style="margin-top:15px; margin-bottom:15px;" src="http://garage.invoicebus.com/wp-content/uploads/2012/05/turbo-charge.png" alt="Turbo Charge" title="Turbo Charge" width="600" height="446" class="alignnone size-full wp-image-1917" /></p>
<p>This content includes Images, Cascading Style Sheets (CSS) and Javascript files. Let me explain you how does this work.</p>
<p>Let’s assume visitors are coming from 10 different countries all over the world: United States, Canada, Mexico, United Kingdom, Germany, France, China, India, Australia and Philippines. For the example, we will take India in particular.</p>
<p>The primary web server of Invoicebus is located in Chicago, Illinois, US in the ORD1 Datacenter of Rackspace. That means all requests should be propagated thorough dozens of routers around the world, so the package from India can reach the server in the US, and then return way back home. Transferring such data over TCP/IP (read Internet) from India to US can take a while, even though this time is very short and usually expressed in milliseconds. However, when we multiply this time with the total number of requests, the delays can be drastic.</p>
<p>There’s a chance some packages to be lost on long distance routes, so resend will be needed, increasing the overall transfer time. There’re also other factors like intercontinental network congestion during busy hours that contribute for these delays.</p>
<p>That’s when CDN comes in game.<br />
So when you deploy your files on CDN, the content will be retrieved from different servers in that CDN network all over the world. That means the users from India will request the files from the local cache in the nearest geo-located CDN server, and not going all the way to US. That’s why the content can be retrieved goddamn fast, leaving the primary server less engaged, so can easily deal other jobs.</p>
<p>We tested all pages from Invoicebus site, but to simplify the post, we will describe what happened with the <a href="https://invoicebus.com/login" title="Visit the Login Page">login page</a> which actually is pretty lightweight with only 160KB, including all the code, images, CSS and JS.</p>
<p><img style="margin-top:15px; margin-bottom:15px;" src="http://garage.invoicebus.com/wp-content/uploads/2012/05/Login_page_printscr.png" alt="Login Page Screenshot" title="Login Page Screenshot" width="600" height="289" class="alignnone size-full wp-image-1886" /></p>
<p>What we put on CDN from that page was the bus mascot image, a few JS scripts and the global CSS file, or to be precise we distributed content of 102.6KB in total.<br />
Here’re the results of page load time:</p>
<div style="width:600px; text-align:center;"><img style="margin-top:15px; margin-bottom:25px;" src="http://garage.invoicebus.com/wp-content/uploads/2012/05/Login_page_test.jpg" alt="Page Load Time Results" title="Page Load Time Results" width="364" height="150" class="alignnone size-full wp-image-1887" /></div>
<p>Our plan is to optimize the whole app even more, so everything loads blazing fast, nearly as a native desktop app. Please let us know if you have any suggestion or request, we would like to hear from you. You can reach us on twitter whenever you like. We&#8217;re always by our laptops so will get you back in seconds.</p>
<h3>Author information</h3><div class="ts-fab-wrapper" style="overflow:hidden"><div class="ts-fab-photo" style="float:left;width:64px"><img alt='Stefan Chachovski' src='https://secure.gravatar.com/avatar/f03618a263cf869af3b1ebf44ebf6171?s=64&amp;d=https%3A%2F%2Fsecure.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D64&amp;r=G' class='avatar avatar-64 photo' height='64' width='64' /></div><!-- /.ts-fab-photo --><div class="ts-fab-text" style="margin-left:74px"><div class="ts-fab-header"><h4><a href="http://twitter.com/chachovski">Stefan Chachovski</a></h4></div><!-- /.ts-fab-header --><div class="ts-fab-content" style="margin-bottom:0.5em"><p>Co-founder of Invoicebus. Huge lover of nature, science, and chocolate cherry cordials. He occasionally writes on this blog about Invoicebus' stuff. Hello him on <a href="http://twitter.com/chachovski">Twitter</a> or subscribe to his updates on <a href="http://facebook.com/cacovski">Facebook</a>.</p>
</div><div class="ts-fab-footer"> | <a href="http://twitter.com/chachovski">Twitter</a> | <a href="http://www.facebook.com/cacovski">Facebook</a> | </div><!-- /.ts-fab-footer --></div><!-- /.ts-fab-text --></div><!-- /.ts-fab-wrapper --><p>The post <a rel="nofollow" href="https://invoicebus.com/garage/distributing-content-via-cdn/">Distributing Content via CDN</a> appeared first on <a rel="nofollow" href="https://invoicebus.com/garage">Garage</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://invoicebus.com/garage/distributing-content-via-cdn/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
