MiNiFi Java Agent Administration
Also available as:
PDF

Swap Subsection

A part of the FlowFile Repository section there is a Swap subsection.

NiFi keeps FlowFile information in memory (the JVM) but during surges of incoming data, the FlowFile information can start to take up so much of the JVM that system performance suffers. To counteract this effect, NiFi "swaps" the FlowFile information to disk temporarily until more JVM space becomes available again. The "Swap" subsection of properties govern how that process occurs.

Property

Description

threshold

The queue threshold at which NiFi starts to swap FlowFile information to disk. The default value is 20000.

in period

The swap in period. The default value is 5 sec.

in threads

The number of threads to use for swapping in. The default value is 1.

out period

The swap out period. The default value is 5 sec.

out threads

The number of threads to use for swapping out. The default value is 4.