-
Language:
English
-
Language:
English
5.8.2. Distributed GET and PUT Operation Resource Usage
In distribution mode, the cache may execute a
GET
operation before executing the desired PUT
operation.
This operation is very expensive in terms of resources. Despite operating in an synchronous manner, a remote
GET
operation does not wait for all responses, which would result in wasted resources. The GET
process accepts the first valid response received, which allows its performance to be unrelated to cluster size.
Disable the
Flag.SKIP_REMOTE_LOOKUP
flag for a per-invocation setting if return values are not required for your implementation.
Such actions do not impair cache operations and the accurate functioning of all public methods, but do break the
java.util.Map
interface contract. The contract breaks because unreliable and inaccurate return values are provided to certain methods. As a result, ensure that these return values are not used for any important purpose on your configuration.