blob: 6c2783b8160df57f640a1fa31b773373ca0649b5 [file] [log] [blame]
<!--
▄▄▄ ██▓███ ▄▄▄ ▄████▄ ██░ ██ ▓█████ ██▓ ▄████ ███▄ █ ██▓▄▄▄█████▓▓█████
▒████▄ ▓██░ ██▒▒████▄ ▒██▀ ▀█ ▓██░ ██▒▓█ ▀ ▓██▒ ██▒ ▀█▒ ██ ▀█ █ ▓██▒▓ ██▒ ▓▒▓█ ▀
▒██ ▀█▄ ▓██░ ██▓▒▒██ ▀█▄ ▒▓█ ▄ ▒██▀▀██░▒███ ▒██▒▒██░▄▄▄░▓██ ▀█ ██▒▒██▒▒ ▓██░ ▒░▒███
░██▄▄▄▄██ ▒██▄█▓▒ ▒░██▄▄▄▄██ ▒▓▓▄ ▄██▒░▓█ ░██ ▒▓█ ▄ ░██░░▓█ ██▓▓██▒ ▐▌██▒░██░░ ▓██▓ ░ ▒▓█ ▄
▓█ ▓██▒▒██▒ ░ ░ ▓█ ▓██▒▒ ▓███▀ ░░▓█▒░██▓░▒████▒ ░██░░▒▓███▀▒▒██░ ▓██░░██░ ▒██▒ ░ ░▒████▒
▒▒ ▓▒█░▒▓▒░ ░ ░ ▒▒ ▓▒█░░ ░▒ ▒ ░ ▒ ░░▒░▒░░ ▒░ ░ ░▓ ░▒ ▒ ░ ▒░ ▒ ▒ ░▓ ▒ ░░ ░░ ▒░ ░
▒ ▒▒ ░░▒ ░ ▒ ▒▒ ░ ░ ▒ ▒ ░▒░ ░ ░ ░ ░ ▒ ░ ░ ░ ░ ░░ ░ ▒░ ▒ ░ ░ ░ ░ ░
░ ▒ ░░ ░ ▒ ░ ░ ░░ ░ ░ ▒ ░░ ░ ░ ░ ░ ░ ▒ ░ ░ ░
░ ░ ░ ░░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░
-->
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<!DOCTYPE html>
<html>
<head>
<link rel="canonical" href="https://ignite.apache.org/arch/durablememory.html" />
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<title>Durable Memory - Apache Ignite</title>
<link media="all" rel="stylesheet" href="/css/all.css?v=1514336028">
<link href="https://netdna.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.css" rel="stylesheet">
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic,800,800italic' rel='stylesheet' type='text/css'>
<!--#include virtual="/includes/sh.html" -->
</head>
<body>
<div id="wrapper">
<!--#include virtual="/includes/header.html" -->
<main id="main" role="main" class="container">
<section id="durable-memory" class="page-section">
<h1 class="first">Durable Memory</h1>
<div class="col-sm-12 col-md-12 col-xs-12" style="padding-left:0; padding-right:0;">
<div class="col-sm-6 col-md-7 col-xs-12" style="padding-left:0; padding-right:0;">
<p>
Apache Ignite is based on the <nobr>Durable Memory</nobr>
architecture that allows storing and processing data and indexes both in memory and on disk
when the <a href="/arch/persistence.html">Ignite Native Persistence</a> feature is enabled.
</p>
<p>
The durable memory architecture helps achieve the performance and scale of in-memory computing
together with the disk durability and strong consistency in one system.
</p>
</div>
<div class="col-sm-6 col-md-5 col-xs-12" style="padding-right:0; top: -10px;">
<img class="img-responsive" src="/images/durable_memory.png" width="440px" style="float:right;"/>
</div>
</div>
<p>
Ignite's Durable Memory operates in a way similar to the Virtual Memory of operating systems
such as Linux. However, one significant difference between these two is that the Durable Memory,
in addition to keeping the whole or partial data set in memory, always keeps the whole data set with
indexes on disk (assuming that Ignite Native Persistence is enabled), while Virtual Memory uses the
disk when it runs out of RAM, for swapping purposes only.
</p>
<p>
Following are the advantages and characteristics of Apache Ignite as a platform when Durable Memory
and Ignite Native Persistence are used together:
</p>
<div class="col-sm-6 col-md-6 col-xs-12" style="padding-left:0; padding-right:0;">
<div class="page-heading">In-Memory</div>
<ul class="page-list">
<li>Off-Heap memory</li>
<li>Removes noticeable GC pauses</li>
<li>Automatic Defragmentation</li>
<li>Predictable memory consumption</li>
<li>Boosts SQL performance</li>
</ul>
</div>
<div class="col-sm-6 col-md-6 col-xs-12" style="padding-left:0; padding-right:0;">
<div class="page-heading">On Disk</div>
<ul class="page-list">
<li>Optional Persistence</li>
<li>Support of flash, SSD, Intel 3D Xpoint</li>
<li>Stores superset of data</li>
<li>Fully Transactional</li>
<ul>
<li>Write-Ahead-Log (WAL)</li>
</ul>
<li>Instantaneous Cluster Restarts</li>
</ul>
</div>
<p>Read more on the <a href="https://apacheignite.readme.io/docs/durable-memory" target="_blank">main documentation page</a>.</p>
</section>
</main>
<!--#include virtual="/includes/footer.html" -->
</div>
<!--#include virtual="/includes/scripts.html" -->
</body>
</html>