Apache Ignite.NET

The Apache Ignite .NET Developer Hub

Welcome to the Apache Ignite .NET developer hub. You'll find comprehensive guides and documentation to help you start working with Apache Ignite.NET 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, in app.config or web.config XML, or in Spring XML. Foe example:

var cfg = new IgniteConfiguration
{
  MemoryConfiguration = new MemoryConfiguration
  {
    DefaultMemoryPolicyName = "defaultPolicy",
    MemoryPolicies = new[]
    {
      new MemoryPolicyConfiguration
      {
        Name = "defaultPolicy",
        InitialSize = 128 * 1024 * 1024,  // 128 MB
        MaxSize = 4L * 1024 * 1024 * 1025  // 4 GB
      } 
    }
  }
};
<igniteConfiguration>
  <memoryConfiguration defaultMemoryPolicyName="defaultPolicy">
    <memoryPolicies>
      <memoryPolicyConfiguration name="defaultPolicy" initialSize="128000000" maxSize="4096000000" />
    </memoryPolicies>
  </memoryConfiguration>
</igniteConfiguration>

For more details, refer to the memory configuration documentation.

Durable Memory

Ignite Durable Memory