Quantcast
Viewing all articles
Browse latest Browse all 532

Best way to access entries in Replicated region

I am trying to loop through all the entries (20k) in a replicated region on server side inside of a Gemfire function.

If I use either region.values() OR region.entrySet() and access just one of the properties in each entry, the total time taken for such a scenario is > 2 seconds.

I have enough memory allocated (5G) and total used is less than allocated (3G). So it cannot be memory/swapping issue.

The key for this region is Integer. The value is an object that can be quite big. Could be comparable to 100KB.

 

What are my options to improve the performance if I have to loop thru all the entries to qualify results for my query?


Viewing all articles
Browse latest Browse all 532

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>