Wednesday, October 29, 2008

Cache Machine

Caching is commonly used by XML Gateways in order to take processing off the services in a Services Oriented Architecture. Usually, the XML Gateway caches the responses from services, so that the response can come from the XML Gateway, rather than coming from the service itself.

Vordel's XML Gateways go a step further. As well as caching responses from services, you can cache any attribute which is used by the XML Gateway (for example a session token, a snippit of XML, a certificate looked up from an LDAP directory, or a computed value). Cache values are then looked up using a simple hashmap mechanism, as shown below:



Caching is an important part of any XML Acceleration exercise.