LIFO
Last-in-first-out (a stack) — the most recent item is handled first; older items wait longer or can starve entirely under sustained load.
Why we need this / what value this brings
Prioritizes the most recent item, which is sometimes exactly right (freshest data) and sometimes exactly wrong (old items starve forever under sustained load).
When to use this
When newer items are more valuable/relevant than older ones and starvation of old items is acceptable or actively desired.
How to use or implement this
Use with an explicit cap or timeout so starved old items are eventually dropped or promoted, rather than waiting forever.
Research questions
- Where would LIFO actually be desirable over FIFO — e.g. processing the most recent price/availability check first since older ones may already be stale?
Empty folder — drop notes, links, and findings here as you research.