Scientists at Tomsk State University (Russia) have created a universal mathematical approach to queuing theory. It allows calculating the most efficient operation of the systems in which the processing of incoming flow takes place. In particular, it can be used to eliminate queues in shops and banks and eliminate mobile communication congestion during the holidays.