亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

Apache Ignite:StripedExecutor queue and backup

Apache Ignite:StripedExecutor queue and backup

搖曳的薔薇 2022-08-03 16:03:36
我們有一個包含2個數據節點和分布式緩存的cluste(Ignite v2.7)。我們將數據加載到此緩存中,并啟動了大規模讀/寫操作。群集工作完美。根據JMX,StripedExecutor隊列是空的。我們在此緩存上啟用了備份,將數據加載到此緩存中,并啟動了大規模讀/寫操作。根據JMX,StripedExecutor隊列在一個節點上不斷增長。系統條帶線程消耗 CPU,但 StripedExecutor 工作緩慢。我們使用三種讀取操作:從客戶端節點分離 sql,選擇表單 xxx 其中 ...ignite compute from client node,Collection offerSearchResults = ignite.compute(ignite.cluster().forServers()).broadcast(new GetProductOfferJob(), computeTaskData);GetProductOfferJob 使用 cache.get從客戶端節點緩存附近,cache.get這是備份內部的錯誤嗎?數據區域配置:<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貢獻1827條經驗 獲得超8個贊

在緩存上啟用備份后,群集上的負載量增加了一倍。

對于 0 個備份,每次寫入就是在一個節點上進行一次操作。

使用 1 個備份,每次寫入是兩個操作 - 每個節點一個。

隨著負載增加一倍,集群似乎已經窒息了。我假設您需要添加一些節點來處理此負載量。



查看完整回答
反對 回復 2022-08-03
?
慕妹3146593

TA貢獻1820條經驗 獲得超9個贊

發生這種情況的原因是,即使配置中沒有日志追加器,也會使系統出現大量日志。您可以在點燃日志配置中設置更高的日志級別。


查看完整回答
反對 回復 2022-08-03
  • 2 回答
  • 0 關注
  • 116 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號