Ping-pong scheme

Ping-pong scheme

A Ping-Pong scheme is a simple algorithm for distributing data packets acrosstwo paths.

If you had two paths A and B, then the algorithmwould randomly start with 1 of the paths and then switch back and forth between the two.

If you were to get the next path from a function call, it would look likethis in Python:

get_next_path(): while True: yield 'A' yield 'B'


Wikimedia Foundation. 2010.

Игры ⚽ Нужна курсовая?

Look at other dictionaries:

  • Ping Pong (disambiguation) — Ping pong is a popular name for the game of table tennis.In film: * Ping Pong (film), a 2002 Japanese manga adaptation film * Ping Pong (1986 film), a British comedy drama film * Ping Pong (1968 film), a German film * Ping Pong (1950 film), a… …   Wikipedia

  • mechanism — 1. An arrangement or grouping of the parts of anything that has a definite action. 2. The means by which an effect is obtained. 3. The chain of events in a particular process. 4. The detailed description of a reaction pathway. [G. mechane, a… …   Medical dictionary

  • British Chinese — Anglo Chinese redirects here. For the language, see Singdarin. British Chinese 英國華僑 英国华侨 …   Wikipedia

  • Arcade game — For other uses, see Arcade (disambiguation). Part of a series on …   Wikipedia

  • Google — This article is about the corporation. For the search engine, see Google Search. For other uses, see Google (disambiguation). Google Inc …   Wikipedia

  • 1980 Pennsylvania Lottery scandal — The 1980 Pennsylvania Lottery scandal, colloquially known as the Triple Six Fix, was a plot to rig the Daily Number, a three digit game the Pennsylvania Lottery offers. All of the balls except 4 and 6 were weighted, meaning that the drawing was… …   Wikipedia

  • List of Camp Lazlo episodes — This is the list of episodes of the Cartoon Network animated series Camp Lazlo. Except where specifically mentioned in the episode synopses, each half hour episode consists of two separately titled segments. Contents 1 Overview 2 Season 1: 2005 3 …   Wikipedia

  • List of Everybody Loves Raymond episodes — The following is an episode list for the CBS sitcom television series Everybody Loves Raymond. The series ran from September 13, 1996, to May 16, 2005, airing 210 episodes. Contents 1 Overview 2 Season 1: 1996–1997 3 Season 2: 1997–1998 …   Wikipedia

  • Residential colleges of Rice University — The residential colleges of Rice University comprise eleven separate residential colleges which function as the primary housing, dining, and social organization for undergraduate students. The system was established in 1957 and was inspired by… …   Wikipedia

  • Poor Man's Bible — The term Poor Man s Bible has come into use in modern times to describe works of art within churches and cathedrals which either individually or collectively have been created to illustrate the teachings of the Bible for a largely illiterate… …   Wikipedia

Share the article and excerpts

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