Detecting and handling affinity breaks in web applications
Abstract
A system and method are disclosed, according to which, the responsiveness of client/server-based distributed web applications operating in an object-oriented environment may be improved by detecting and handling affinity breaks between a client and server. Affinity exists when a client's requests are all routed to the same server. This is often the case, for example, during secure online transactions. A problem occurs when the preferred server becomes temporarily unavailable, and the client's requests are directed to a different server. When the original server is restored, it must detect the fact that its affinity with the client was disrupted, and any client-specific data in its cache may be invalid. In an exemplary embodiment of the system and method disclosed herein, an “affinity command” is exchanged between the client and the server during each client request. The affinity command contains a user ID associated with the client and a “generation ID”, which is unique for each request. When a request is received from a client, the server examines the generation ID in the accompanying affinity command and compares it to its internally recorded value. If they match, the ser
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 35 · Forward citations: 4.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method for detecting affinity breaks between a client and a server equipped with a cache in a software system for distributed web applications, comprising: the client sending a request to the server, accompanied by a numeric-valued generation ID (GID); the server receiving the request and the GID from the client, and comparing the received GID against a previously recorded GID; if the received GID matches the recorded GID, incrementing the recorded GID, and returning it to the client as the new GID; and if the received GID does not match the recorded GID, reporting an affinity break between
- Claim 2Depends on #1
The method as recited in claim 1 , further comprising detecting affinity breaks between a plurality of clients and a server, wherein each client has a unique user ID.
- Claim 3Depends on #2
The method as recited in claim 2 , further comprising send
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (4 of 4 total)
References Cited — Backward Prior Art (35)
Non-Patent Literature (4)
- "Caching Live Business Content," © 2000 Persistence Software, Inc., pp. 1-11.
- "Oracle9i Application Server Web Caching," Oct. 2000, pp. 1-7.
- Copeland et al., "Web Caching with Dynamic Content," May 2000, pp. 1-35.
- Pean et al., "Effective Mechanisms to Reduce the Overhead of Migratory Sharing for Linked-Based Cache Coherence Protocols in Clustering Multiprocessor Architecture," © 1998 IEEE, pp. 511-518.