iWhile running certain scenarios during testing of the Carbon 4.2.0 packs, we saw certain performance issues when distributed Hazelcast HashMaps are used as the backing data structure. To overcome this, I have introduced the concept of an L1 local cache. It is a write through cache, where items stored in it will also get written to the distributed data structure. When there is a L1 cache miss, we will check in the L2 distributed cache to see whether the value is there.



git-svn-id: https://svn.wso2.org/repos/wso2/carbon/kernel/trunk@180100 a5903396-d722-0410-b921-86c7d4935375