Blog Posts DMN

The Rete Algorithm in Decisions and RULE.net

Blog: The Data Center

What is the Rete Algorithm?

Your first question is likely – how do I say “Rete”? Well, a quick search leading to several dictionaries suggests “Reet” is appropriate while “Ree-tee” and and other pronunciations are less common.

The Rete Algorithm is a design methodology that sacrifices memory for speed. It optimizes execution times by reducing the number of rules or data a transaction requires with an intelligent network or structure of rules and data. The fundamental idea is simple, while implementations can grow to be quite complex.

The principle essentially boils down to creating the leanest decision tree possible at runtime. In a project where you might have millions or billions of business rule transactions – designing their execution in such a way that calls for each and every rule to run will add costly overhead to total execution times. The Rete Algorithm optimizes the rule execution pattern with “test rules” that are placed early and strategically in any execution in order to determine if other data or rules need to be run/accessed or not.

Decisions and the Rete Algorithm

Today, Decisions supports this idea through several different Rule Types that you can design with our Business Rule Engine in combination with our Workflow Engine. To highlight two of these patterns:

A) Rule Sets where the base set is comprised of the “test rules” that determine which templates are then run, and

B) Sequential Rules where the “test rules” are placed early in the sequence and dictate the path the rule execution takes to ensure lean processing.

Future versions of Decisions (targeting the 4.0 release) will include more sophisticated optimization in support of the Rete Algorithm.

 

 

Supporting Sources: 

https://en.wikipedia.org/wiki/Rete_algorithm

https://techondec.wordpress.com/2011/03/14/rete-algorithm-demystified-part-2/

The post The Rete Algorithm in Decisions and RULE.net appeared first on Decisions Blog.

Leave a Comment

Get the BPI Web Feed

Using the HTML code below, you can display this Business Process Incubator page content with the current filter and sorting inside your web site for FREE.

Copy/Paste this code in your website html code:

<iframe src="https://www.businessprocessincubator.com/content/the-rete-algorithm-in-decisions-and-rule-net/?feed=html" frameborder="0" scrolling="auto" width="100%" height="700">

Customizing your BPI Web Feed

You can click on the Get the BPI Web Feed link on any of our page to create the best possible feed for your site. Here are a few tips to customize your BPI Web Feed.

Customizing the Content Filter
On any page, you can add filter criteria using the MORE FILTERS interface:

Customizing the Content Filter

Customizing the Content Sorting
Clicking on the sorting options will also change the way your BPI Web Feed will be ordered on your site:

Get the BPI Web Feed

Some integration examples

BPMN.org

XPDL.org

×