by numlock86 · 7y ago · 0 comments
> We assume customer arrivals and customer service times are random (details later).
Where are those details? I expected some math about the random distribution and how that adds up, but I can't even find the corresponding text passage to explain anything related to that.
https://www.wikiwand.com/en/Poisson_distribution
Queueing theory is a pretty common topic in Electrical Engineering and Computer Science curriculum related to scheduling or computer networks. Also part of Operations Research curriculum.
Probably worth reading more about Leonard Kleinrock's work if you are interested in this topic and the context where it was applied:
The trouble with that approach is that it assumes packets just arrive randomly no matter what the network is doing. That was true for Plan 55-A; delays in the network had little influence on the submission rate for new telegrams. But it's not true once you put a protocol with backpressure, like TCP, on top of the raw packets. Now congestion becomes a feedback control system. I figured that out in the early 1980s and wrote RFC 970.[1]
The idea of having one big line was introduced by banks some time in the 1970s. It helped some. But the big breakthrough came from Walter Wriston [2], CEO of what is now Citibank, who pushed his people to develop in-bank terminals and then ATMs, to get rid of the lines entirely.
A classic piece of advice from retail consultants is "never place an obstacle in front of a customer who is ready to buy". Amazon's "one-click ordering" is the classic on-line example. Gap stores used to be noted for getting this. They had big, empty counters and more than enough people ready to check customers out. All that crap retailers put at checkouts? Few customers buy it, and it limits how much merchandise the customer can put on the counter.
The big queuing theory insight for line management is that if you don't have some idle time, in an open loop situation the line length will go to infinity. In the real world, you start to lose customers. That's how closed loop feedback reacts to retailer incompetence.
People select less stuff when they're shopping because they're concerned it won't fit on the counter, or they take a bunch of stuff there but end up not paying for it because it won't fit, or what?
And the bigger the line, the more likely customers drop out (at least, I do, especially if the purchase is small/insignificant)
Yes. This is an issue for stores that don't use shopping carts.
Wouldn't that be the exponential distribution? The poisson distribution would tell you how many customers would arrive in any given time interval.
Service processes are often characterized using exponential distributions
Some wikipedia rabbit holes to dive down:
https://en.wikipedia.org/wiki/Queueing_theory
[0]: https://www.johndcook.com/blog/2008/10/21/what-happens-when-...
Fun application: suppose you want to take a bus, on average they are independently 10mins apart (rate 1/10). On average when you arrive uniformly random, the next bus will arrive in 10mins (and likewise the last one was 10mins ago). This can be intuitively understood because you have more chances to arrive at a time when buses are further apart. The mean of the waiting time is 1/rate and not 1/(2*rate) like we could imagine.
There's a really obvious counterexample to "the distribution doesn't matter": with a uniform distribution, the average wait time will be zero.