Data communication in a clustered data processing environment
AssigneeInternational Business Machines Corporation
InventorDavid R. H. Kelsey
Life of this patent
Estimating the term…
Abstract
Data can be communicated across a clustered data processing environment. A server can receive a request and a token from a web user interface component and search for the data object associated with the token in a local cache. If the data object is found, it can be used to communicate with a backend server, in order to receive a response with server-specific data. The response and the data object can be sent back to the web user interface.
Claims5
A computer system for communicating data in a clustered data processing environment, the system comprising:
- a memory;
- and
- one or more computer processing circuits configured to:
- receive, at a server in the clustered data processing environment, a request and a token from a web user interface (UI) component, the token created during storing of a data object in a local cache wherein the token is associated with the data object and wherein the token represents the data object in its entirety, and wherein the token includes a specific configuration, credential, and a reference to the server;
- search, based on the token and for the data object, the local cache, wherein the data object comprises backend server credentials and backend response configurations, wherein the backend response configurations are unique to a particular user of the web UI component;
- detect, in response to the search, the data object in the local cache;
- communicate, using the data object, with a backend server;
- receive, from the backend server and in response to the request, server-specific data, the server-specific data responsive to the request and obtained to satisfy the request;
- return, to the web UI component, based on the server-specific data from the backend server and data held in the data object, a response;
- receive, at the server in the clustered data processing environment, a second request and a second token from a second web UI component, the second token created during storing of a second data object in another local cache on another server in the clustered data environment;
- search, based on the second token and for the second data object, the local cache;
- detect, in response to the search based on the second token and for the second data object, an absence of the second data object in the local cache;
- locate, in response to the absence of the second data object and in a dynamic cache, a byte array for the second data object, the byte array created during the storing of the second data object in the dynamic cache;
- rebuild, based on the byte array for the second data object, the second data object;
- store, in the local cache, the rebuilt second data object;
- communicate, using the second data object, with the backend server;
- receive, from the backend server and in response to the second request, server-specific data;
- return, to the second web UI component, based upon the server-specific data from the backend server and data held in the second data object, a second response;
- determine the token is no longer required;
- and
- delete the token created during the storing of the data object.
A computer program product for communicating data in a clustered data processing environment, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, wherein the computer readable storage medium is not a transitory signal per se, the program instructions executable by a computer processing circuit to cause the circuit to perform the method comprising:
- receiving, at a server in the clustered data processing environment, a request and a token from a web user interface (UI) component, the token created during storing of a data object in a local cache, and wherein the token represents the data object in its entirety, and wherein the token includes a specific configuration, credential, and a reference to the server;
- searching, based on the token and for the data object, the local cache, wherein the data object comprises backend server credentials and backend response configurations, wherein the backend response configurations are unique to a particular user of the web UI component;
- detecting, in response to the searching, the data object in the local cache;
- communicating, using the data object, with a backend server;
- receiving, from the backend server and in response to the request, server-specific data, the server-specific data responsive to the request and obtained to satisfy the request;
- returning, to the web UI component, based on the server-specific data from the backend server and data held in the data object, a response
- receiving, at the server in the clustered data processing environment, a second request and a second token from a second web UI component, the second token created during storing of a second data object in another local cache on another server in the clustered data environment;
- searching, based on the second token and for the second data object, the local cache;
- detecting, in response to the searching based on the second token and for the second data object, an absence of the second data object in the local cache;
- locating, in response to the detecting the absence of the second data object and in a dynamic cache, a byte array for the second data object, the byte array created during the storing of the second data object in the dynamic cache;
- rebuilding, based on the byte array for the second data object, the second data object;
- storing, in the local cache, the rebuilt second data object;
- communicating, using the second data object, with the backend server;
- receiving, from the backend server and in response to the second request, server-specific data;
- returning, to the second web UI component, based on the server-specific data from the backend server and data held in the second data object, a second response;
- determining the token is no longer required;
- deleting the token created during the storing of the data object;
- storing, prior to the receiving the request from the web UI component, the data object in the local cache;
- creating, in response to the storing of the data object, the token;
- serializing, in response to the storing of the data object in the local cache, the data object into byte array;
- and
- storing the byte array for the data object in a dynamic cache.
Dependencies are inferred from the claim text.