SYSTEM AND METHOD FOR CACHING SETS OF OBJECTS

    公开(公告)号:CA2338915A1

    公开(公告)日:2001-10-04

    申请号:CA2338915

    申请日:2001-02-28

    Applicant: IBM

    Abstract: A system and method for managing cacheable sets of objects having explicit lifetime specifications, wherein a time-based cache manager maintains and updates one or more sets of objects stored in the cache. A cached set of objects comprises objects havin g start times and/or end times representing, respectively, times at which such objects become val id and expire. An update time is determined for a given cached set of objects based, in part, on the start times and end times of objects comprising the cached set of objects. When a request fo r the retrieval of an object from the given cached set of objects (or the entire cached set) is received, a determination is made if the cached set of objects is valid at the time of the request bas ed on the update time. If the cached set of objects is not valid because, e.g., the update time has elapsed, the cached set of objects is updated (and any other cached sets, if necessary) by deleting and/or adding objects to the cached set of objects having start times and end times that meet predefined time criteria for inclusion in the cached set of objects.

    PRESERVING STATE IN STATELESS NETWORK PROTOCOLS

    公开(公告)号:CA2206685C

    公开(公告)日:2001-04-17

    申请号:CA2206685

    申请日:1997-06-02

    Applicant: IBM

    Inventor: IYENGAR ARUN K

    Abstract: A method and system for preserving state in computers communicating over net works, such as the World Wide Web (WWW) using stateless protocols, e.g., HTTP. State is preserved in a conversation between a client requesting services from a served by performin g the service and identifying all continuations (hyperlinks) in an output from the service; re cursively embedding the state information in all identified continuations in the output sent to the client. The state information may be embedded and communicated by the server to the client. Alternatively, dynamically downloadable program code may be used to embed the the state information at the client. Additional features enable the filtering and/or addition of hyperlinks and data output from the services according to predetermined criteria. State information may be embedded by modifying an identified continuation which is a request for an HTML file, to invoke a CGI converter program with the identified continuation and the state information passed as arguments. State informatio n may also be embedded by modifying an identified continuation which is an invocation to a CGI prog ram with the identified continuation and the state information passed as arguments, and the embeddin g step is performed by the CGI program. Alternatively, an identified continuation which is an invoc ation of a CGI program may be modified to invoke a CGI converter program with the identified contin uation, an argument counter which indicates a number of arguments associated with the CGI progra m, and the state information passed as arguments. Here, the embedding is performed by the con verter program.

Patent Agency Ranking