Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Apache Ignite Quick Start Guide

You're reading from   Apache Ignite Quick Start Guide Distributed data caching and processing made easy

Arrow left icon
Product type Paperback
Published in Nov 2018
Publisher Packt
ISBN-13 9781789347531
Length 260 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Sujoy Acharya Sujoy Acharya
Author Profile Icon Sujoy Acharya
Sujoy Acharya
Arrow right icon
View More author details
Toc

Understanding the memory model

Apache Ignite has a durable memory architecture for storing and accessing data and indexes. The memory architecture for in-memory and on-disk storage for native persistence is the same. The available memory is split into multiple pages (you can configure the page size) and are stored in off-heap (outside the Java heap) and on disk.

The durable memory can have multiple data regions and each data region can be configured separately to set the size, eviction policies, persistent flag and many other attributes. The following diagram depicts the durable memory architecture:

The basic components are as follows:

  • Data regions: By default, Apache Ignite creates a single data region which can take upto 20% of available RAM. We can configure the durable memory size using the DataStorageConfiguration API. The following code snippet configures our durable...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image