Hi,

It's normal that writing to disk is causing the degradation. You can do
several optimizations to speed up writting to disk:

https://apacheignite.readme.io/docs/durable-memory-tuning
https://apacheignite.readme.io/docs/performance-tips

However you can try to test your example with next DefaultDataRegion
configuration:

        <property name="dataStorageConfiguration">
            <bean
class="org.apache.ignite.configuration.DataStorageConfiguration">
                
                <property name="defaultDataRegionConfiguration">
                    <bean
class="org.apache.ignite.configuration.DataRegionConfiguration">
                        <property name="name" value="Default_Region"/>
                        
                        <property name="maxSize" value="#{4L * 1024 * 1024 *
1024}"/>
                        <property name="persistenceEnabled" value="true"/>
                        <property name="checkpointPageBufferSize"
                                  value="#{1024L * 1024 * 1024}"/>
                    </bean>
                </property>
                <property name="walMode" value="NONE"/>
                <property name="pageSize" value="#{4 * 1024}"/>
                <property name="writeThrottlingEnabled" value="true"/>
            </bean>
        </property>

You can also set walMode to NONE but in this case you can lose the data.

Also if you have more then one hard disk then you can think about separating
of the data and wal:

https://apacheignite.readme.io/docs/durable-memory-tuning#section-separate-disk-device-for-wal

According your example. It looks like ok but I don't see where you close
your streamer.

BR,
Andrei



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Reply via email to