Hello All, 

 

In one of our development, the cache contains several regions and
subregions-One of our services accesses to the regions and the subregions
through a classical ClientCache.getRegion( Path). Once we get the region
with the key, we get the value. 

 

The service parameters contain the region path and the key of the value we
want to retrieve. So, for each service invocation, we plan access to the
region through the method ClientCache.getRegion( Path) then get the value
with the key Region.get (Key).

 

Our question: 

Is the method ClientCache.getRegion( Path) efficient enough to advise me to
invoke ClientCache.getRegion( Path)  for each invocation? 

If not, is it is better to store the regions, in a lazy way, in a Map(<
path>, < region>), and avoid a new connection to a region for each
invocation. 

I have no idea how the process to get the region works in the deep. 

 

Thank you for your help

 

Best regards

 

Paul Perez Chief Architect

Pymma Consulting

--------------------------

Tel: +44 79 44 36 04 65 

Skype ID : polperez

 

Reply via email to