• DocumentCode
    1940131
  • Title

    Timeouts with time-reversed linear probing

  • Author

    Thorup, Mikkel

  • Author_Institution
    Shannon Lab., AT&T Labs.-Res., Florham Park, NJ, USA
  • fYear
    2011
  • fDate
    10-15 April 2011
  • Firstpage
    166
  • Lastpage
    170
  • Abstract
    We consider portable software implementations of hash tables with timeouts. The context is a high volume stream of keyed items. When a new item arrives, we want to know if has been seen recently in terms of a fixed lifespan. This problem has numerous applications as a front-end for Internet traffic processing where the key could be a selection of fields from the header of a packet, e.g., tracing packets through networks, aggregation of netflows from routers, and helping firewalls reuse decisions from recent packets with the same key. We propose time-reversed linear probing tables to deal with timeouts. In experiments, compared with tumbling windows and lazy deletions, our time-reversed tables typically gains at least 25% in speed while using only half the space. The cost per item approaches that of a single random memory access. Our new scheme is cleaner to implement than previous schemes, and also more versatile, e.g., it is trivial to allow different items to have different lifespans; something not possible with tumbling windows. Adding this to the improved time and space efficiency, makes time-reversed linear probing a canonical first choice for hash tables with time-outs.
  • Keywords
    Internet; cryptography; file organisation; random-access storage; telecommunication network routing; Internet traffic processing; front-end; hash tables; lazy deletions; portable software implementations; random memory access; routing; time-reversed linear probing; timeouts; Arrays; Hardware; Internet; Monitoring; Probes; Software; Switches;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    INFOCOM, 2011 Proceedings IEEE
  • Conference_Location
    Shanghai
  • ISSN
    0743-166X
  • Print_ISBN
    978-1-4244-9919-9
  • Type

    conf

  • DOI
    10.1109/INFCOM.2011.5934961
  • Filename
    5934961