Grid computing/XTP scenario

This scenario shows how the business pattern for grid computing and Extreme Transaction Processing (XTP) technologies described in Chapter 1 can be implemented.

Implementing the grid computing business pattern

The grid computing business pattern can be implemented using a data grid framework and is shown in the following diagram:

Implementing the grid computing business pattern

Trigger:

  • An application makes a change to an object in the distributed cache.

Primary flow:

  1. The data grid ensures that the modified object in the distributed cache is updated.
  2. The relevant backup data is updated.
  3. Depending on the topology of the cache, the data may be distributed across the entire cluster or only across certain computers.
  4. Applications can register their interest on changes to data by applying a suitable filter. In this case, they receive an event whenever the data has been changed.

Variant with ESB wrapping a data grid to cache service results

The grid computing business pattern can be combined with the direct connection pattern and the ESB building block to implement a caching of service results, as shown in the following diagram:

Variant with ESB wrapping a data grid to cache service results

Trigger:

  • An application sends an SOAP request to the ESB.

Primary flow:

  1. The ESB checks if the requested information is already available in the data grid/cache.
  2. If the information is available in the cache, then the data is directly returned from the cache.
  3. If the information is not in the cache, then the data is read through the database adapter from an Oracle database, placed in the cache, and returned to the requesting application.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset