Persisting data on disk using Hazelcast

后端 未结 2 1308

I have installed HazelCast 2.5. I want to persist my records into disk. I learned that MapStore does this job. However i\'m not sure how to implement MapStore.

Code I\'v

2条回答
  •  北恋
    北恋 (楼主)
    2021-02-20 01:10

    Hazelcast has two types of distributed objects in terms of their partitioning strategies:

    • Data structures where each partition stores a part of the instance, namely partitioned data structures.

    • Data structures where a single partition stores the whole instance, namely non-partitioned data structures.

    Partitioned Hazelcast data structures persistence data to local file system is not supported,need a centralized system that is accessible from all hazelcast members,like mysql or mongodb.

    You can get code from hazelcast-code-samples.

提交回复
热议问题