Live data from Hacker News

What happens when you add a new teller? (2008)

johndcook.com

21–30 of 30 posts

Re: What happens when you add a new teller? (2008)

#21

Seems to me the big problem with any kind of retail queue is highly inconsistent service times. If you have a consistent time/ customer, it's easy to predict. As soon as you have some customers taking 20 minutes and some taking 2 minutes all the simple math goes out the window. This is why some people get so infuriated when they see the person in the front of the line break out a fist full of coupons, food stamps, or…

Right, variance of wait time -- not just the mean -- is definitely a(n anti-)desideratum, for exactly the reason you gave[1]. I don't know how much emphasis academic queueing theory puts on this though.

[1] To put it another way, you can assume entrants plan for the line to take less than the 95th (or whatever) percentile time; the lower you get this figure, they better they can allocate their time for other tasks.

Re: What happens when you add a new teller? (2008)

#22
post #8

Kind of a textbook description of queue theory if you were taking a stochastic processes class. If the author really is suggesting this for use in retail line situations, he is out of touch because... retail managers have no idea what queue theory is. If they did, they would be making much more money, and not working in retail. Staffing is more of a function of how many people you can get on the clock without getting…

That’s not true at all! A good GM understands throughput and may get bonuses based on that.

The retailer I worked at in the 90s also tracked the ring rate and time per customer for cashiers, and made scheduling and hour decisions based on performance.

Re: What happens when you add a new teller? (2008)

#23

What does it mean that service times are exponential?

Good question! It means that the probably of finishing in the next increment of time is always the same. Just got up to the teller? There's, say, a 20% chance that you're done within the next minute. Been at the teller's desk for 30 minutes already? Still a 20% chance that you're going to be wrapped up in the next minute.

This might be saying the same thing in a slightly different way. But does it also mean that if we plot "service times" on the X axis and frequency on the Y, then in the first quadrant we get something high on the left, getting lower as it goes right, and asymptotically approaching zero as it goes to infinity on the right?

Re: What happens when you add a new teller? (2008)

#24
post #8

Kind of a textbook description of queue theory if you were taking a stochastic processes class. If the author really is suggesting this for use in retail line situations, he is out of touch because... retail managers have no idea what queue theory is. If they did, they would be making much more money, and not working in retail. Staffing is more of a function of how many people you can get on the clock without getting…

What's the formula for making more money by knowing queueing theory?

(Not the application to retail management, which is straightforward, but the application to getting a better job.)

Re: What happens when you add a new teller? (2008)

#25
This is classic open-loop queuing theory with Poisson arrivals. Nothing really works like that. There's always a "rejection rate", where people leave the line before being serviced. Or, in networking, the connection times out. Or, for a shopping site or a real store, you get an "abandoned cart". In real life, this has a lot to do with how many sales you lose.

In the early days of the Internet, people were trying to analyze datagram networks as open-loop systems with Poisson arrivals. That's because everybody read Kleinrock back then. His thesis was on Western Union Plan 55-A, which was Sendmail made out of telephone relays and paper tape punches feeding paper tape readers as buffers. A mail system behaves much more like an open loop system - people don't mail less as the mail propagation time goes up. That was the wrong model for IP messages, because TCP connections add a closed loop system on top of IP.

Re: What happens when you add a new teller? (2008)

#26

Seems to me the big problem with any kind of retail queue is highly inconsistent service times. If you have a consistent time/ customer, it's easy to predict. As soon as you have some customers taking 20 minutes and some taking 2 minutes all the simple math goes out the window. This is why some people get so infuriated when they see the person in the front of the line break out a fist full of coupons, food stamps, or…

This happens a lot in retail, the DMV, post office, etc. The best way to model it is with a meta-process where servers randomly disappear and reappear. This also captures the infuriating phenomenon of tellers going on break or (worse) looking like they're available when they're not because they have to stop and count the till or something.

Re: What happens when you add a new teller? (2008)

#27

What does it mean that service times are exponential?

Think about radioactive half-life. Half the atoms will decay in X minutes. Half the remainder in 2X minutes. Half the remainder in 3X etc.

Likewise you'll serve half your customers within X minutes. Half the remainder within 2X, half the remainder within 3X etc.

Re: What happens when you add a new teller? (2008)

#28
post #8

Kind of a textbook description of queue theory if you were taking a stochastic processes class. If the author really is suggesting this for use in retail line situations, he is out of touch because... retail managers have no idea what queue theory is. If they did, they would be making much more money, and not working in retail. Staffing is more of a function of how many people you can get on the clock without getting…

What's the formula for making more money by knowing queueing theory? (Not the application to retail management, which is straightforward, but the application to getting a better job.)

Maybe less literal than you are thinking. A background in mathematics opens you to many lucrative careers.

Re: What happens when you add a new teller? (2008)

#29
post #8

Kind of a textbook description of queue theory if you were taking a stochastic processes class. If the author really is suggesting this for use in retail line situations, he is out of touch because... retail managers have no idea what queue theory is. If they did, they would be making much more money, and not working in retail. Staffing is more of a function of how many people you can get on the clock without getting…

That’s not true at all! A good GM understands throughput and may get bonuses based on that. The retailer I worked at in the 90s also tracked the ring rate and time per customer for cashiers, and made scheduling and hour decisions based on performance.

Thats great and all, but also not queue theory.

Re: What happens when you add a new teller? (2008)

#30
post #15
post #12

Earlier quoted context omitted.

Why gender the showers in the first place? Seems like added complication for little to no benefit by splitting into separate queues.

Yeah it really slows throughput, especially if your users aren’t 50/50 men women. There are locker room layouts that can accommodate mixed genders, like ones where each shower is in a changing stall, e.g. https://i.pinimg.com/originals/1a/ec/31/1aec3156f4f31ca42540...

An event venue near me does a genius thing with the bathrooms.

The restrooms have single line of stalls. There's a moveable wall between the stalls to change the allocation of how many men's stalls there are versus women's. That makes it so if you're running an event that tends to attract more people of one gender than the other, you can create more toilets for that gender. Quilting expo? More women's stalls. PC gaming event? More men's.

Post reply on HN