ILOG JRules User Guide > Optimizing Execution > Tasks > Choosing an Execution Mode

You can choose an execution mode for each rule task in your ruleflow. By default, a rule task is assigned the RetePlus execution mode. To achieve optimal performance, you may need to choose another execution mode that is better adapted for the rules in a particular rule task.

Here is a brief table showing in what cases you would select an execution mode. See Deciding on an Execution Mode for much more detail.

Table 1 Quick View of Execution Mode Selection
Choose this mode: 
In this case: 
RetePlus 
(the default mode) 
Rule chaining; may be useful in the case of many objects 
Sequential 
Many rules, few objects; has limits 
Fastpath 
Rules implementing a decision structure, many objects; may have longer compilation but faster at run time. 

Execution of the ruleset may be faster with a particular execution mode.

In this Section

Deciding on an Execution Mode
Changing the Execution Mode

Related Concepts

Engine Execution Modes
Ruleflows
Business Rule Application Development

Related Samples and Tutorials

Rule-Based Programming
Rule Engine Integration
Tutorial: Creating Your First Ruleflow