Visual simulators of stochastic processes written in JavaScript.
You can find that a long queue is formed due to the existence of a customer with a large service time, who occupies the server for a long time. Also, adding a server to the system makes the queue shrink drastically.
This simulates the following well-known recursion for single-server queues.
\(\qquad\quad D_n = \max(0, D_{n-1} - G_n) + H_n\)This simulates the dynamics of the Age of Information (AoI). Running the simulation with large samples, you can see that the process converges to the steady state.