WebSphere Commerce - IBM WebSphere DataPower XC10 appliance
Overview
This document describes leveragng a simple data grid to provide eXtreme Scale caching for mobile applications leveraging IBM Worklight
Scenario 1 - Web Side Caching Solution for Mobile Apps
Integrate the elastic caching tier with the ESB using XC10 REST Gateway. A simple data grid hosted on an DataPower XC10 functions as a SOA results cache for the DataPower XI50 ESB. Backend REST service response is cached in XC10 to improve the performance. The REST Gateway simple cache enables non-Java (.NET, PHP) and non-WebSphere (JBOSS, Weblogic) based clients access to simple data grids using HTTP methods...
HTTP POST insert/update data in the grid HTTP GET get data from the grid HTTP DELETE delete data from the grid. Supports creation of dynamic maps with three Time to Live (TTL) templates
XC10 flow with cache hit
- Device submits request
- XI50 parses request and queries XC10 based on unique key
- XC10 responds "Cache Entry Found"
- Device receives cached response
XC10 flow with cache miss
- Device Submits Request
- XI50 parses request and queries XC10 based on unique key
- XC10 responds "No Cache Entry Found"
- XI50 forwards request to backend app
- Backend app responds
- XI50 adds response into cache grid on XC10
- XC10 add into cache completes
- Device receives response
Scenario 1 procedure
- Create a simple data grid
Demo