Ryan McMahon created GEODE-6878:
-----------------------------------
Summary: Remove documentation around enableLocalCache for Tomcat
session peer-to-peer topology
Key: GEODE-6878
URL: https://issues.apache.org/jira/browse/GEODE-6878
Project: Geode
Issue Type: Improvement
Components: docs, http session
Reporter: Ryan McMahon
There isn't any use case for enabling local caching in a peer-to-peer topology
when using the Tomcat session state module, because the session region type is
REPLICATE so an additional local ("fronting") region adds no benefit. At one
time the peer-to-peer session region type was not REPLICATE so a local region
could have added performance benefits, but this is no longer the case. As
such, we should remove any documentation around enableLocalCache JUST for
peer-to-peer topology. The documentation for client-server should remain.
{code:java}
Default: false for peer-to-peer, true for client/server
The GemFire API equivalent to setting this parameter:
// For peer-to-peer members: Cache.createRegionFactory(REPLICATE_PROXY); // For
client members: ClientCache.createClientRegionFactory(CACHING_PROXY_HEAP_LRU);
{code}
should become something like:
{code:java}
enableLocalCache is only useful in a client/server topology. Local caching is
enabled by default in this topology.
The GemFire API equivalent to setting this parameter:
ClientCache.createClientRegionFactory(CACHING_PROXY_HEAP_LRU);
{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)