Little's law appears in various guises in performance analysis. It was known to
Agner Erlang (the father of queueing theory) in 1909 to be intuitively correct but was not proven mathematically until 1961 by
John Little. Even though you experience it all the time, queueing is not such a trivial phenomenon as it may seem. In the subsequent discussion, I'll show you that there is actually a
triplet of such laws, where each version refers to a slightly different aspect of queueing. Although they have a common general form, the less than obvious interpretation of each version is handy to know for solving almost any problem in performance analysis.
To see the Little's law triplet, consider the line of customers at the grocery store checkout lane shown in Figure 1. Following the usual queueing theory convention, the queue includes not only the customers waiting but also the customer currently in service.
Figure 1. Checkout lane decomposed into its space and time components
As an aside, it is useful to keep in mind that there are only three types of performance metric:
- Time $T$ (the fundamental performance metric), e.g., minutes
- Count or a number $N$ (no formal dimensions), e.g., transactions
- Rate $N/T$ (inverse time dimension), e.g., transactions per minute