Patent · US Active

Caching socket connections while ensuring that there are file descriptors available for the applications

US8903776B2 · kind B2 · utility

0Cited by
5References
9Claims
0Family size

Assignee

Inventors

Key dates

Filing dateSep 8, 2011
Grant dateDec 2, 2014
Priority date
Expiry dateOct 18, 2032

Classification

  • Technology area (CPC H)Electricity
  • CPC primaryH04L67/146
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

A method, system and computer program product for caching socket connections while ensuring that there are file descriptors available for the applications. File descriptor references and their referenced objects are stored in a predefined memory region of the heap (“file descriptor heap”). Each time a socket connection is cached, a file descriptor reference may be created to be associated with the socket connection's file descriptor, where the file descriptor reference references the object of the cached socket connection. In order to ensure that there are available file descriptors for the applications, the file descriptor references and their referenced objects are collected by the garbage collector in response to various events (e.g., too many file descriptors are open) thereby freeing the file descriptors that were previously associated with the collected connection objects to be used by the applications.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.