# Waiting time paradox #3: сервера и их очереди

DevFeed: [Waiting time paradox #3: сервера и их очереди](<https://devfeed.tech/articles/waiting-time-paradox-3-24772.md>)

Original publisher: [Read original article](<https://dev.cheremin.info/2019/05/waiting-time-paradox-3.html>)

Author: Ruslan Cheremin (noreply@blogger.com)

Published: 2019-05-23T16:17:00Z

Content type: article

Language: ru

Sources: [\>рабочие заметки](<https://devfeed.tech/sources/source-2.md>)

Topics: [systems](<https://devfeed.tech/topics/systems.md>), [cpu](<https://devfeed.tech/topics/cpu.md>), [Java](<https://devfeed.tech/topics/java.md>)

Tags: [cpu](<https://devfeed.tech/tags/cpu.md>), [java](<https://devfeed.tech/tags/java.md>), [queueing-theory](<https://devfeed.tech/tags/queueing-theory.md>), [systems](<https://devfeed.tech/tags/systems.md>), [tag-e5017782b67f](<https://devfeed.tech/tags/tag-e5017782b67f.md>)

## AI overview

The article explains how the waiting-time paradox appears in queueing systems. In a fictional server example, adding or removing a five-millisecond sleep changes the measured average request-processing time, illustrating that requests arriving while the server is busy may experience a residual waiting time. The characters, figures, and formulas are explicitly presented as fictional or simulated.

## Source excerpt

Если происходит что-то странное, значит, где-то рядом автобусная остановка (Народная мудрость) (Продолжение серии про парадокс времени ожидания. Персонажи выдуманы, цифры получены из симуляции, формулы выведены специально сделанными людьми. В общем, все не по-настоящему, не пытайтесь повторить)Представьте себе сервер, на который приходят заявки, и очередь, где заявки могут чуток обождать, пока