I don't know if I even want to call an api to warm up memory. I am thinking,
we could have a setting like the below in config xml, this is userfriendly
and intention of the config file is very clear.

Bottomline: if ignite is used more often from disk, then it loses its value
from a performance standpoint
So, this option (warmupOnStart)  seems mandatory.  

        <property name="dataStorageConfiguration">
            <bean
class="org.apache.ignite.configuration.DataStorageConfiguration">
                <property name="defaultDataRegionConfiguration">
                    <bean
class="org.apache.ignite.configuration.DataRegionConfiguration">
                        <property name="persistenceEnabled" value="true"/>
                        <property name="metricsEnabled" value="true"/>
                        <property name="maxSize" value="#{16L * 1024 * 1024
* 1024}"/>
                         *<property name="warmupOnStart" value="true" />*
                    </bean>
                </property>
            </bean>
        </property>



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

Reply via email to