Improving the performance of the sequential execution mode
You can improve performance of the sequential execution
mode by setting up optimization levels or ratios, optimizing the caching,
or setting the costly property. You can also reduce memory consumption.
Sequential algorithm
Unlike the RetePlus algorithm, the sequential execution
mode does not provide inference. The sequential algorithm works in
a predictable way only when rules are homogeneous, that is when they
are using the same bindings.
Memory consumption reduction
To reduce memory consumption of the rule engine in sequential
mode, you can use the select and dynamicselect keywords,
the dynamicselect keyword followed by a rule domain,
or remove rule metadata.
Automatic caching
The purpose of automatic caching is to avoid similar expressions
to be computed twice. You can optimize caching for large numbers of
rules.