lastcomefirstserved
Last come, first served, often abbreviated LCFS, is a service discipline in queuing theory and certain operation contexts in which the most recently arrived customer is served before those who arrived earlier. It stands in contrast to the common first-come, first-served (FCFS) approach. LCFS can take non-preemptive forms, where service for a current job is completed before attending a newer arrival, or preemptive forms, where a new arrival can interrupt current service to be served next.
In queuing models, LCFS alters waiting-time distributions and fairness characteristics. Non-preemptive LCFS tends to favor newer
Applications of LCFS are limited in everyday consumer settings because of fairness concerns, but the principle
See also: First-Come-First-Served, priority queue, queuing theory, preemptive scheduling, LCFS-PR.