Creating a globally optimized strategy
Increase the performance of your strategy by creating a globally optimized instance of your rule. You can also use a globally optimized strategy as a substrategy to decrease code size and increase performance of the top-level strategy that is not optimized.
Strategy designers create globally optimized strategies to reduce the computation time and memory consumption when running large-scale batch data flows and simulations. Improvements to the Strategy rule performance are the results of decreased run time and quality changes to the code generation model. Strategy designers create a globally optimized strategy by referencing an existing strategy that they want to optimize and by selecting output properties that will be in the optimized strategy result.
Strategy optimization is done on the component level. The
following strategy components can be optimized:
- Sub Strategy (only the Current page option)
- Proposition Data (without the Interaction History option)
- Split
- Data Join
- Set Property
- Filter (only the Filter condition option)
- Prioritize
- Champion Challenger
- Switch
- Group By
- External Input
- Create an
instance of the Strategy rule
with the Global optimization option enabled by
performing the following actions:
- In the View additional configuration options, select Global optimization.
- Enter the Apply To class of the strategy that you want to optimize.
- On the Global optimization tab, select a strategy that you want to optimize.
- Optional:
To see the optimization status of individual substrategies and strategy components,
click
Expand strategies.
- In the Output optimization tab, select properties that you want to calculate in the optimized strategy.
- In the Test tab, specify the source and subject of the test run by selecting one of the following options:
- Use a particular data set as the subject of the test run by performing the following
actions:
- Click Data set.
- Select a data set that is the source of the test run.
- In the Subject ID field, specify the record (customer) that is the subject of the test run.
- Use a data flow as the source of the test run by performing the following
actions:
- Click Data flow.
- In the Data flow field, specify the data flow that is the source for the test run.
-
In the
Subject ID
field, specify the record (customer) that
is the subject of the test run.
When you test a strategy on a data flow, the system runs the specified data flow, and then uses the output of that data flow for the selected subject ID in the test run.
- To see differences between non-optimized and optimized results, click Compare.
Previous topic Globally optimized strategy Next topic Optimizing strategies with allow list functions