max-writes

This command specifies the maximum concurrent writes that the XML manager allows to the document cache.

Syntax

max-writes requests

Parameters

requests
Specifies the maximum number of concurrent writes to create documents or refresh expired documents in the document cache. Enter a value in the range 1 - 32768. The default value is 32768.

Guidelines

The max-writes command specifies the maximum concurrent writes to create documents or refresh expired documents that the XML manager allows to the document cache. When the maximum number is reached, the requests are forwarded to the target server directly and the requested document is not written to the cache.

For example, when the maximum number is 20, a maximum of 20 cache entries can be created for document writes. Each entry is populated with a different document when the server response is received. When another request is received and requests a document without an entry in the cache or is expired, the request bypasses the cache and is forwarded to the remote server. The remote server responds directly to the request instead of writing the response to the cache.

Example

Specify a maximum number of concurrent writes by the mgr1 XML manager is 1000.
# documentcache mgr1
Document cache configuration mode
# max-writes 1000