Apache Ignite C++

The apacheignite-cpp Developer Hub

Welcome to the apacheignite-cpp developer hub. You'll find comprehensive guides and documentation to help you start working with apacheignite-cpp as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started    

Durable Memory

Ignite Durable Memory

Apache Ignite memory-centric platform is based on the durable memory architecture that allows storing and processing data and indexes both in memory and on disk when the Ignite Persistent Store feature is enabled. The memory architecture helps achieve in-memory performance with durability of disk using all the available resources of the cluster.

A full overview of this feature is available in the Java documentation.

Configuration

Durable Memory can be configured from C++ code using a Spring XML config file like the one shown below:

<bean class="org.apache.ignite.configuration.IgniteConfiguration">

<!-- Changing total RAM size to be used by Ignite Node -->
<property name="memoryConfiguration">
  <bean class="org.apache.ignite.configuration.MemoryConfiguration">
    <!-- Chanign size of the default memory region to 4GB to achieve this. -->
    <property name="defaultMemoryPolicySize" value="#{4L * 1024 * 1024 * 1024}"/>
  </bean>
</property>
  
<!-- The rest of the parameters -->
</bean>

For more details, refer to the memory configuration documentation.

Durable Memory

Ignite Durable Memory