Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

PropertyDescription
outputUnits

required, default is 10000

The memory size of neural networks.

The result-ranking system requires memory (heap space) and disk space per unit for each user (local ranking) or instance (global ranking). You can adjust the size of the memory used per unit to mitigate possible memory consumption issues (see Result Ranker memory size).

rankingNetworkStorageStrategy

required

The result-ranking memory strategy.

The default strategy stores result rankings per user. Other strategies are possible (see Result Ranker strategy).

To adjust the strategy, set the class property accordingly.

class

required, default is info.magnolia.periscope.rank.ml.jcr.JcrUsernameNetworkStorageStrategy

Other possible values must be a subtype of info.magnolia.periscope.rank.ml.RankingNetworkStorageStrategy.

Understanding configuration to optimise memory footprint

The Periscope Result Ranker module creates a certain number of memory units. The total number of memory units depends on the Result Ranker strategy. The size of a single memory unit is based on the Result Ranker memory size.

...

Code Block
Class: info.magnolia.periscope.rank.ml.jcr.JcrUserRoleNetworkStorageStrategy
Tip

To keep the memory footprint for the Result Ranker on a minimum level, use the JcrUserRoleNetworkStorageStrategy class and do not assign the role ranker. Make sure that you have only a few users with the superuser role.