Dr. Dobb's is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them. Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.


Channels ▼
RSS

Mobile

Scalable Multicast File Distribution


May00: What About Caching?

What About Caching?

No doubt some of you are wondering, "What about caching?" Couldn't the web server avoid repeatedly sending the same file over and over, if only it were stored in web caches much nearer the clients? The answer is yes, it could. However, it is not clear whether it will be any easier to get caches deployed than IP multicast. For very popular software, you will often see a list of mirror sites in different regions that you can download from. This amounts to manual caching and requires the content provider to set up equipment around the world, or to cut deals with third parties. When automated caches are set up, many servers operate in cache-busting mode, deliberately trying to force clients to bypass the cache so that they can get direct web hits.

Supposing that caches can be deployed, they do reduce waste of network bandwidth by keeping the file nearer the client. Notice, however, that the total number of transfers of the file is the same -- one for each client. So the total server power needed remains the same -- it is just spread out onto the caches.

However, the number of caches may be large, so it may still be worthwhile to reduce the load further by multicasting to the caches. Also, the caches themselves may need to serve a large number of clients, making multicast from the cache desirable. So caching may be used in combination with multicast, rather than necessarily eliminating it.

For campus-wide software distribution, caching may not make sense at all. Consider the task we face at Microsoft in distributing the nightly builds of Windows NT. Every night, all the source code checked in during the day is compiled (built). This latest build, typically of several hundred megabytes, needs to be distributed back out to several hundred developers and installed on their machines for testing and further development. Doing this using web servers requires about 15 high-end server machines. Adding caches would simply move some of these machines to different buildings. Some network traffic may be saved, but the server equipment requirement remains the same. Using Fcast would allow the file distribution using the network bandwidth of a single transfer, and would require only one server.

-- J.G.


Related Reading


More Insights






Currently we allow the following HTML tags in comments:

Single tags

These tags can be used alone and don't need an ending tag.

<br> Defines a single line break

<hr> Defines a horizontal line

Matching tags

These require an ending tag - e.g. <i>italic text</i>

<a> Defines an anchor

<b> Defines bold text

<big> Defines big text

<blockquote> Defines a long quotation

<caption> Defines a table caption

<cite> Defines a citation

<code> Defines computer code text

<em> Defines emphasized text

<fieldset> Defines a border around elements in a form

<h1> This is heading 1

<h2> This is heading 2

<h3> This is heading 3

<h4> This is heading 4

<h5> This is heading 5

<h6> This is heading 6

<i> Defines italic text

<p> Defines a paragraph

<pre> Defines preformatted text

<q> Defines a short quotation

<samp> Defines sample computer code text

<small> Defines small text

<span> Defines a section in a document

<s> Defines strikethrough text

<strike> Defines strikethrough text

<strong> Defines strong text

<sub> Defines subscripted text

<sup> Defines superscripted text

<u> Defines underlined text

Dr. Dobb's encourages readers to engage in spirited, healthy debate, including taking us to task. However, Dr. Dobb's moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing or spam. Dr. Dobb's further reserves the right to disable the profile of any commenter participating in said activities.

 
Disqus Tips To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy.