WebSphere Commerce - IBM WebSphere DataPower XC10 appliance

+

Search Tips   |   Advanced Search


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

  1. Device submits request
  2. XI50 parses request and queries XC10 based on unique key
  3. XC10 responds "Cache Entry Found"
  4. Device receives cached response


XC10 flow with cache miss

  1. Device Submits Request
  2. XI50 parses request and queries XC10 based on unique key
  3. XC10 responds "No Cache Entry Found"
  4. XI50 forwards request to backend app
  5. Backend app responds
  6. XI50 adds response into cache grid on XC10
  7. XC10 add into cache completes
  8. Device receives response


Scenario 1 procedure

  1. Create a simple data grid


Demo