Bandwidth optimization

Bandwidth optimization

Bandwidth optimization is one of many concerns webmasters deal with when hosting web content. Since most web hosts charge by bandwidth used or have an account limit on bandwidth, a prudent webmaster will squeeze and compress their files as much as possible without impacting the content's integrity. Reductions in bandwidth usage are measured in negabytes, a unit akin to other "negative" units such as negawatts, negavolts, negajoules, negameters, and negagrams.

Even the simplest bandwidth optimization techniques can reduce bandwidth costs significantly. Owners of extremely high-volume web services are especially diligent, and have been known to employ extreme techniques to save a few bytes per page. For example, many staple pages at Yahoo [ [http://www.yahoo.com Yahoo! ] ] are highly optimized - with whitespace and line breaks removed, unneeded quotes removed around HTML attributes, and images compressed to the limit while maintaining clarity.

Most bandwidth optimization techniques can fit into one of three categories: Efficiency, Compression, and Omission. [ [http://www.negabytes.com Negabytes - Bandwidth Optimization ] ]

Efficiency

Efficiency techniques involve changing the web content in order to minimize the number of bytes that need to be sent. For example, use external files (which will cache) instead of inline styles and scripts, reuse icon images, use semantic markup. Fix any broken images, since these often send a verbose 404 error page.

Compression

Use compression on the server to squash files before they are sent. Compression is a well-established technique in telecommunications, since without significant bandwidth compression, the telephone grid could not handle the amount of data that passes through it. On the web the most popular compression algorithm for real-time compression is gzip. The topic of compression also includes image compression e.g. JPG, PNG, GIF

Also see WAN Optimization

Omission

Omit unneeded bytes. Remove comments, whitespace, and don't send tags to non-robots.

References


Wikimedia Foundation. 2010.

Игры ⚽ Нужен реферат?

Look at other dictionaries:

  • Bandwidth (computing) — For other uses, see Bandwidth. In computer networking and computer science, bandwidth,[1] network bandwidth,[2] data bandwidth,[3] or digital bandwidth[4][5] is a measure of available or consumed data communication resources expressed in… …   Wikipedia

  • Optimization — or optimality is a term that may refer to: * Optimization (mathematics), trying to find maxima and minima of a function * Optimization (computer science), improving a system to reduce runtime, bandwidth, memory requirements, or other property of… …   Wikipedia

  • Optimization (computer science) — In computing, optimization is the process of modifying a system to make some aspect of it work more efficiently or use fewer resources. For instance, a computer program may be optimized so that it executes more rapidly, or is capable of operating …   Wikipedia

  • Capacity optimization — technologies are similar to data compression technologies, but they look for redundancy of very large sequences of bytes across very large comparison windows. Typically using cryptographic hash functions as identifiers of unique sequences, long… …   Wikipedia

  • Loop nest optimization — (LNO) is a special case of loop transformation, dealing with nested loops, that allows large reductions in the cache bandwidth necessary for some common algorithms.Example: Matrix multiplyMany large mathematical operations on computers end up… …   Wikipedia

  • Compiler optimization — is the process of tuning the output of a compiler to minimize or maximize some attributes of an executable computer program. The most common requirement is to minimize the time taken to execute a program; a less common one is to minimize the… …   Wikipedia

  • WAN optimization — products seek to accelerate a broad range of applications accessed by distributed enterprise users via eliminating redundant transmissions, staging data in local caches, compressing and prioritizing data, and streamlining chatty protocols (e.g.,… …   Wikipedia

  • Program optimization — For algorithms to solve other optimization problems, see Optimization (mathematics). In computer science, program optimization or software optimization is the process of modifying a software system to make some aspect of it work more efficiently… …   Wikipedia

  • Memotec Data Incorporated — was a small data processing and communications company based in Montreal, Quebec and came into the spolight when it purchased former crown corporation Teleglobe Canada in 1987 under the leadership of its president, William McKenzie. The company… …   Wikipedia

  • Kernel density estimation — of 100 normally distributed random numbers using different smoothing bandwidths. In statistics, kernel density estimation is a non parametric way of estimating the probability density function of a random variable. Kernel density estimation is a… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”