tokens: The relevant packet based scheduling algorithms include First - in First - out ( FIFO ) , weighted fair queue ( WFQ , weight based on the priority or the type of packets ) , earliest deadline first ( EDF , based on the delay or waiting time of packets ) , greedy , etc .