[jira] [Created] (IGNITE-6412) Bypass GridCacheMapEntry during bulk data load

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-6412) Bypass GridCacheMapEntry during bulk data load

Anton Vinogradov (Jira)
Vladimir Ozerov created IGNITE-6412:
---------------------------------------

             Summary: Bypass GridCacheMapEntry during bulk data load
                 Key: IGNITE-6412
                 URL: https://issues.apache.org/jira/browse/IGNITE-6412
             Project: Ignite
          Issue Type: Task
          Components: cache
    Affects Versions: 2.1
            Reporter: Vladimir Ozerov


Currently every cache update goes through famous {{GridCacheMapEntry}} entry and acquire a monitor on it. This is done for the sake of thread-safety.

When doing bulk data load we can try the following approach:
1) Restrict all cache operations except of target data load
2) Bypass {{GridCacheMapEntry}} completely, as we guarantee that there are no conflicting updates
3) Allow accessing cache when load finished

NB: May be the same approach can be used even for plain cache operations due to our striped-pool architecutre. This needs to be investigated further.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)