Hi: As the updated data is more than 500000,so I set write behind parameters to true with java code . but it did not work .It's still wait until all data is persisted. When I debug the code ,I found my cache's cacheconfiguration is correctly set to true; the setting is: cacheCfg.setWriteBehindEnabled(true); cacheCfg.setWriteBehindFlushSize(10240); cacheCfg.setWriteBehindFlushFrequency(5000); cacheCfg.setWriteBehindBatchSize(10000); cacheCfg.setWriteBehindFlushThreadCount(3);
I startup a Ignite node by default-config.xml. And use lifeCycleBean(after_node_start event) to load above configure and load all datas to cache. Any suggestion? Thanks. Lucky