Data grid integration
You can configure the DataPower® Gateway to integrate with an eXtreme Scale collective.
A DataPower Gateway can integrate with a group of remote data grids. The group of data grids is a collective. With the data grids in a collective, you can reduce the load on remote servers and eliminate redundant request to remote servers. This environmental setup improves response time to clients and increases the volume of transactions that can be processed.
The collective contains one or more data grids. These data grids can be a key-value store for a DataPower Gateway.
The following figure shows the high-level integration and processing.
- The DataPower Gateway accepts a client request.
- A DataPower service inspects the URI, the XML body, or both URI and XML body to determine whether the request meets caching criteria.
- If the criteria is met, the DataPower Gateway submits a REST GET request to
the data grid collective to determine whether the data is in the data grid.
- When the response is in the data grid, which signifies a cache hit, the DataPower service responds to the client. A cache hit removes the latency from the application and data layers.
- When the response is
HTTP 404 NOT FOUND
, which signifies a cache miss, the DataPower service processes the client request and forwards the results to the remote server. When the service receives the server response, the service submits a REST POST request to the data grid collective to add the data.