Little's law

Little's law

In queueing theory, Little's result, theorem, lemma, or law says:

:The long-term average number of customers in a stable system N, is equal to the long-term average arrival rate, λ, multiplied by the long-term average time a customer spends in the system, T, or:

:, N= lambda T.

Although it looks intuitively reasonable, it's a quite remarkable result, as it implies that this behavior is entirely independent of any of the detailed probability distributions involved, and hence requires no assumptions about the schedule according to which customers arrive or are serviced.

It is also a comparatively recent result - it was first proved by John Little of Case Western University (1961). Handily his result applies to any system, and particularly, it applies to systems within systems. So in a bank, the queue might be one subsystem, and each of the tellers another subsystem, and Little's result could be applied to each one, as well as the whole thing. The only requirements are that the system is stable and non-preemtive; this rules out transition states such as initial startup or shutdown.

mall example

Imagine a small shop with a single counter and an area for browsing, where only one person can be at the counter at a time, and no one leaves without buying something. So the system is roughly:

::"Entrance → Browsing → Counter → Exit"

This is a stable system, so the rate at which people enter the store is the rate at which they arrive at the counter and the rate at which they exit as well. We call this the arrival rate.

Little's Law tells us that the average number of customers in the store, N, is the arrival rate, λ, times the average time that a customer spends in the store, T, or simply:

:, N= lambda T.

Assume customers arrive at the rate of 10 per hour and stay an average of 0.5 hour. This means we should find the average number of customers in the store at any time to be 5.

Now suppose the store is considering doing more advertising to raise the arrival rate to 20 per hour. The store must either be prepared to host an average of 10 occupants or must reduce the time each customer spends in the store to 0.25 hour. The store might achieve the latter by ringing up the bill faster or by walking up to customers who seem to be taking their time browsing and saying, "Can I help you?".

We can apply Little's Law to systems within the shop. For example, the counter and its queue. Assume we notice that there are on average 2 customers in the queue and at the counter. We know the arrival rate is 10 per hour, so customers must be spending 0.2 hour on average checking out.

We can even apply Little's Law to the counter itself. The average number of people at the counter would be in the range (0,1) since no more than one person can be at the counter at a time. In that case, the average number of people at the counter is also known as the counter's utilisation.

Use in performance testing of computer systems

Little's law can be used in software performance testing to ensure that the observed performance results are not due to bottlenecks imposed by the testing apparatus. See:
* [http://www.onjava.com/pub/a/onjava/2005/01/19/j2ee-bottlenecks.html Software Infrastructure Bottlenecks in J2EE by Deepak Goel]
* [http://arxiv.org/abs/cs/0404043 Benchmarking Blunders and Things That Go Bump in the Night by Neil Gunther]

References

* Little, J. D. C. "A Proof of the Queueing Formula L = λ W" Operations Research, 9, 383-387 (1961).

ee also

* List of eponymous laws (laws, adages, and other succinct observations or predictions named after persons)


Wikimedia Foundation. 2010.

Игры ⚽ Поможем сделать НИР

Look at other dictionaries:

  • Law Reports — the publications in which the decisions of the courts are recorded. It should, however, be appreciated that in the UK and in many other jurisdictions these are private publications rather than state operated. The publisher makes the reports more… …   Law dictionary

  • little by little — index piecemeal Burton s Legal Thesaurus. William C. Burton. 2006 …   Law dictionary

  • little — index impalpable, inappreciable, minimal, minor, negligible, nominal, paltry, petty, remote ( …   Law dictionary

  • little chance — index improbability Burton s Legal Thesaurus. William C. Burton. 2006 …   Law dictionary

  • little one — index infant Burton s Legal Thesaurus. William C. Burton. 2006 …   Law dictionary

  • little-known — I adjective abstract, abstruse, arcane, concealed, cryptic, dark, enigmatic, esoteric, hidden, mysterious, mystic, mystical, nebulous, obscure, perplexing, profound, puzzling, recondite, secret, shrouded in mystery II index peculiar (curious), re …   Law dictionary

  • Little Rock, Arkansas — Little Rock redirects here. For other uses, see Little Rock (disambiguation). City of Little Rock, Arkansas   City   …   Wikipedia

  • Little Round Top — is the smaller of two rocky hills south of Gettysburg, Pennsylvania. It was the site of an unsuccessful assault by Confederate troops against the Union left flank on July 2, 1863, the second day of the Battle of Gettysburg.Considered by many… …   Wikipedia

  • Little Rock United States Post Office and Courthouse — Little Rock US Post Office and Courthouse U.S. National Register of Historic Places …   Wikipedia

  • Little Manila — (also known as Manilatowns or Filipinotowns) is term that refers to a community with a large Filipino immigrant and descendant population. Philippine Center in New York City Contents 1 …   Wikipedia

Share the article and excerpts

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