TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Should the last in a queue be served first? (LIFO)

2 pointsby firebirdn99over 1 year ago

2 comments

firebirdn99over 1 year ago
Related blog post with above link on FIFO vs LIFO queue management: <a href="https:&#x2F;&#x2F;www.qminder.com&#x2F;blog&#x2F;queue-management&#x2F;first-in-first-out-queue-management&#x2F;#:~:text=Last%2Din%2C%20first%2Dout%20queuing%20(LIFO)&amp;text=Last%2Din%2C%20first%2Dout%20is%20relevant%20for%20systems%20which,program%20with%20the%20Undo%20button" rel="nofollow noreferrer">https:&#x2F;&#x2F;www.qminder.com&#x2F;blog&#x2F;queue-management&#x2F;first-in-first...</a>.
moritzwarhierover 1 year ago
&gt; The best system, however, turned out to be last-in-first-out - or to put it another way, last-come-first-served - with the person who arrives last getting served first.<p>As long as it doesn&#x27;t lead to stacking people, I guess it&#x27;s fine.<p>Bad puns aside, this seems pretty reasonable! But it leaves the time aspect as a blackbox, e.g. at airports there are boarding times and that makes people come early.<p>Not sure if this is fully generalizable to any type of queue (: