我們有一個包含2個數(shù)據(jù)節(jié)點(diǎn)和分布式緩存的cluste(Ignite v2.7)。我們將數(shù)據(jù)加載到此緩存中,并啟動了大規(guī)模讀/寫操作。群集工作完美。根據(jù)JMX,StripedExecutor隊(duì)列是空的。我們在此緩存上啟用了備份,將數(shù)據(jù)加載到此緩存中,并啟動了大規(guī)模讀/寫操作。根據(jù)JMX,StripedExecutor隊(duì)列在一個節(jié)點(diǎn)上不斷增長。系統(tǒng)條帶線程消耗 CPU,但 StripedExecutor 工作緩慢。我們使用三種讀取操作:從客戶端節(jié)點(diǎn)分離 sql,選擇表單 xxx 其中 ...ignite compute from client node,Collection offerSearchResults = ignite.compute(ignite.cluster().forServers()).broadcast(new GetProductOfferJob(), computeTaskData);GetProductOfferJob 使用 cache.get從客戶端節(jié)點(diǎn)緩存附近,cache.get這是備份內(nèi)部的錯誤嗎?數(shù)據(jù)區(qū)域配置:<property name="dataStorageConfiguration"> <bean class="org.apache.ignite.configuration.DataStorageConfiguration"> <property name="systemRegionInitialSize" value="#{100 * 1024 * 1024}"/> <property name="pageSize" value="16384"/> <property name="walMode" value="LOG_ONLY"/> <property name="writeThrottlingEnabled" value="true"/> <property name="dataRegionConfigurations"> <list> <bean class="org.apache.ignite.configuration.DataRegionConfiguration"> <property name="name" value="default_data_region"/> <property name="initialSize" value="#{10L * 1024 * 1024 * 1024}"/> <property name="maxSize" value="#{50L * 1024 * 1024 * 1024}"/> <property name="metricsEnabled" value="false"/> <property name="persistenceEnabled" value="true"/> </bean> </list> </property> </bean> </property>
2 回答

斯蒂芬大帝
TA貢獻(xiàn)1827條經(jīng)驗(yàn) 獲得超8個贊
在緩存上啟用備份后,群集上的負(fù)載量增加了一倍。
對于 0 個備份,每次寫入就是在一個節(jié)點(diǎn)上進(jìn)行一次操作。
使用 1 個備份,每次寫入是兩個操作 - 每個節(jié)點(diǎn)一個。
隨著負(fù)載增加一倍,集群似乎已經(jīng)窒息了。我假設(shè)您需要添加一些節(jié)點(diǎn)來處理此負(fù)載量。

慕妹3146593
TA貢獻(xiàn)1820條經(jīng)驗(yàn) 獲得超9個贊
發(fā)生這種情況的原因是,即使配置中沒有日志追加器,也會使系統(tǒng)出現(xiàn)大量日志。您可以在點(diǎn)燃日志配置中設(shè)置更高的日志級別。
添加回答
舉報
0/150
提交
取消