Hashed and Hierarchical Timing Wheels: Efficient Data Structures for Implementing a Timer Facility
Calendar queues: a fast 0(1) priority queue implementation for the simulation event set problem