Trading Networks 10.3 | Administering and Monitoring B2B Transactions | Trading Networks Administrator's Guide | Understanding webMethods Trading Networks | Caching
 
Caching
A cache is a small fast memory holding recently accessed data, designed to speed up subsequent access to the same data.
Ehcache is a standards-based caching API that enables applications to fetch frequently used data from an in-memory cache rather than having to retrieve it from a database or other back-end system.
Trading Networks uses the caching capabilities of Ehcache to provide:
*Asset caching. Trading Networks uses Ehcache to cache assets. While the assets are in cache, Trading Networks can quickly retrieve them for similar requests, rather than getting the details from Trading Networks database. For more information about asset caching, see Asset Caching.
*Query results caching. Trading Networks uses Ehcache to store the results of a database query. It stores the number of rows you specify in a session object on the host Integration Server and stores the remaining rows in Ehcache. For more information about query results caching, see Query Results Caching.
For an introduction to Ehcache and information for sizing Trading Networks system caches, see Using Terracotta with webMethods Products.