-

Ignite Native Persistence

+

Ignite Persistence

- As it is covered in memory-centric storage, - Ignite is widely used as a caching layer (aka. data grid) above an existing 3rd - party database such as RDBMS, Apache Cassandra or MongoDB. This mode is used to - accelerate the underlying database that persists the data. - At the same time Ignite comes with its own persistence, that is considered as an alternate - and preferable persistence layer for the Ignite cluster. + Ignite is widely used as a caching layer above an existing 3rd + party database, such as RDBMS, Apache Cassandra or MongoDB, to + accelerate them. At the same time, Ignite comes with its own persistence that is considered as an alternate + and preferable persistence layer for an Ignite cluster.

+

Native Persistence

Ignite native persistence is a distributed, ACID, and SQL-compliant disk store that transparently integrates with Ignite's durable memory. Ignite persistence is optional and can be turned on and off. When turned off Ignite becomes a pure in-memory store.

+
Apache Ignite Native Persistence - Distributed SQL Database @@ -80,7 +80,6 @@ under the License. 100 entries and RAM has the capacity to store only 20, then all 100 will be stored on disk and only 20 will be cached in RAM for better performance.

-

The native persistence has the following important characteristics:

@@ -170,7 +169,32 @@ under the License.
-

Read more

+ +

3rd Party Persistence

+

+ Ignite can be used as a caching layer (aka. data grid) above an existing 3rd party + database - RDBMS, NoSQL, or HDFS. This mode is used to accelerate the underlying database that persists + the data. Ignite stores data in memory, distributed across multiple nodes providing fast data access. + It reduces the network overhead caused due to frequent data movement between an application and the database. + However, there are some limitations in comparison to the native persistence. For instance, SQL queries + will be executed only on the data that is in RAM, thus, requiring to preload all the data set from disk + to memory beforehand. +

+ +

Swap Space

+

+ If you do not want to use Ignite native persistence or 3rd party persistence, you can enable swapping, + in which case, Ignite in-memory data will be moved to the swap space located on disk if you run out of RAM. + When swap space is enabled, Ignites stores data in memory mapped files (MMF) whose content will be + swapped to disk by the OS depending on the current RAM consumption. The swap space is mostly used to + avoid out of memory errors (OOME) that might happen if RAM consumption goes beyond its capacity and + you need more time to scale the cluster out to​ redistribute the data sets evenly. +

+ +
More Information
+

Native Persistence

+

3rd Party Persistence

+

Swap Space