Apache Ignite sync mode


What's inside this article ⌄
  • Apache Ignite synchronization mode
  • How to configure Ignite sync mode
  • Ignite cache synchronization settings
  • Ignite primary backup sync mode

There are three synchronization modes in Apache Ignite:

  • FULL_ASYNC
  • FULL_SYNC
  • PRIMARY_SYNC

You can switch them this way:

CacheConfiguration<?, ?> cacheCfg = new CacheConfiguration<>();
cacheCfg.setName("cacheName");
cacheCfg.setWriteSynchronizationMode(CacheWriteSynchronizationMode.FULL_SYNC);
igniteConfiguration.setCacheConfiguration(cacheCfg);