What is the expected waiting time in an $M/M/1$ queue where order service is last-in-first-out? On service completion, the next customer served is the most recent arrived. Suppose we do not know the order of service (think of a busy retail shop that does not have a "take a number" system).
I tried many things like using $L = \lambda w$ but I am not able to make progress with this exercise. I am new to queueing theory and will appreciate some help. I can't find very much information online about this scenario either.
I found this online: https://people.maths.bris.ac.uk/~maajg/teaching/iqn/queues.pdf
It helped me understand more.
But it does help me with this problem.
I think that the expected waiting time (time waiting in queue plus service time) in LIFO is the same as FIFO. But I am not completely sure. I remember reading this somewhere. Maybe this can help?
In terms of service times, the average service time of the latest customer has the same statistics as any of the waiting customers, so statistically it doesn't matter if the server is treating the latest arrival or any other arrival, so the busy period distribution should be the same. I think that implies (possibly together with Little's law) that the waiting time is the same as well.