Broadleaf Microservices
  • v1.0.0-latest-prod

Extension Common Configuration

Overview

There are various properties you can configure when utilizing Broadleaf’s Extension Common library.

Ignite Cache Node Properties (Since 2.0.2)

When Ignite is used for caching, these properties influence the configuration of the embedded Ignite node. The properties here are bound to com.broadleafcommerce.common.extension.autoconfigure.IgniteCacheNodeProperties.

Property Description Default

broadleaf.common.cache.ignite.node.memory-page-size

The memory page size to use for Ignite. Ignite recommends this to be "no less than the lower of: the page size of your storage media (SSD, Flash, HDD, etc.) and the cache page size of your operating system".

4KB

broadleaf.common.cache.ignite.node.system-data-region-initial-size

The initial allocation size of the system data storage region for Ignite system cache (this is off-heap memory).

40MB

broadleaf.common.cache.ignite.node.system-data-region-max-size

The maximum allowed size of the system data storage region for Ignite system cache (this is off-heap memory).

100MB

broadleaf.common.cache.ignite.node.default-data-region-empty-pages-pool-size

Configures the default data region’s DataRegionConfiguration.getEmptyPagesPoolSize() (see the Javadocs there).

100

broadleaf.common.cache.ignite.node.default-data-region-page-eviction-mode

Configures the default data region’s DataRegionConfiguration.getPageEvictionMode() (see the Javadocs there).

random_2_lru

broadleaf.common.cache.ignite.node.default-data-region-metrics-enabled

Configures the default data region’s DataRegionConfiguration.isMetricsEnabled() (see the Javadocs there).

true

broadleaf.common.cache.ignite.node.default-data-region-initial-size

The initial allocation size of the default data storage region (this is off-heap memory).

256MB

broadleaf.common.cache.ignite.node.default-data-region-max-size

The maximum allowed size of the default data storage region (this is off-heap memory).

1GB