The assumption of exponential inter-arrival times is often reasonable. The Poisson process provides a useful model for many real-world systems when arrivals are drawn independently from a large population. However, the assumption of exponential service times is usually less realistic.
Exponential service times are a useful starting point because the resulting models can often be analysed using the well-developed theory of continuous-time Markov chains. These models allow us to understand the main features of a queueing system and build intuition before introducing more realistic service-time distributions.
We now consider service times drawn from a general distribution.
A Server with an Infinite Backlog
Consider a server that processes jobs at unit speed and always has another job waiting. Suppose that the service times are independent and identically distributed copies of a random variable . We assume that
has finite mean and variance, and denote its cumulative distribution function by
.

Infinite backlog.
The residual service time is the amount of time remaining until the job currently in service is completed.
Suppose that the server has been running for a long time and we observe it at a randomly chosen time. A key observation is:
The remaining service time is not distributed in the same way as
, and it is not necessarily smaller. We are more likely to observe a long job in service than a short job.
More specifically:
The probability of observing a job of size
is proportional to its size, and conditional on observing a job of size
, the amount of service already received is uniformly distributed on
.
Let denote the total size of the job in service. Its size-biased distribution satisfies
Therefore,
Conditional on , the residual service time is uniformly distributed on
. Hence,
The expected residual service time is therefore
Using the tail-integral identity,
Thus,
The expected residual service time depends on the second moment, and therefore on the variance, of the service-time distribution. This dependence on service-time variability is an important feature of queues with general job sizes.