Hazelcast equcalent for Coherence local cache

前端 未结 1 1243
情话喂你
情话喂你 2021-01-27 07:08

Actualy we are migrating from Coherence to Hazelcast.

In Coherence we use a local cache like this:

    
        IN         


        
相关标签:
1条回答
  • 2021-01-27 07:19

    Hazelcast's IMap's is intended to be distributed not local. You can use near-cache to keep a subset (even 100%) in the current JVM, but that's more like a materialized view.

    However, you can have more than one Hazelcast instance in the same JVM. So you could have a Hazelcast server instance in your JVM with networking turned off. This would provide "distributed" IMap but only distributed across that one, so effectively local.

    0 讨论(0)
提交回复
热议问题