Questions tagged [rule-engine]

Rule engines are software components that allow application developers to externalize business rules and manage their lifecycle independently from the application code.

Rule engines

Rule engines are software components that allow application developers to externalize business rules and manage their lifecycle independently from the application code. They typically use a higher level declarative language (in contrast to the typical imperative paradigm of languages like Java and C++) and use specific algorithms for scalability and high performance. A good analogy is that Rule Engines do for business rules what databases do for data.

Resources

961 questions
5
votes
3 answers

Why not to use Rule Engine? Or Overheads of Rule Engine

I have read several posts where the use cases for using Rule Engine are discusses. And many of them say that you should not use it for workflow management. Posts I referred: Pros and Cons of Rule Engine When you should not use the Rule…
Sam
  • 2,352
  • 4
  • 32
  • 45
5
votes
4 answers

Is there any Rules Engine/Inference Engine for Go

We want to implement our business logic using Go, but we cannot find any good implementation of rules engine/inference engine for Go. Does anyone have any experience or suggestions?
rui
  • 81
  • 1
  • 1
  • 3
5
votes
2 answers

Drools to rule excel sheet

Just thinking is there a way to convert drl file to excel sheet using Drools APIs? We are currently on Drools 5.3 But can use any version really. Thanks in advance
user1224036
  • 988
  • 1
  • 15
  • 34
5
votes
2 answers

Drools rules writing best practice

I have been reading an article about Drools performance ( JBoss Drools – Performance and Memory Internals ) , it explains how Rete trees and nodes are created, how Drools indexes them, and why increasing number of objects in Drools hardly effects…
Luciano
  • 598
  • 9
  • 21
5
votes
1 answer

CLIPS and integration with C++

I am in the process of developing a fairly complex rules engine. So I decided to take help of any GNU rules engine and get it integrated with my application. I came across CLIPS as a good rules engine. Now, My application is in C++ and I want a…
kumar_m_kiran
  • 3,982
  • 4
  • 47
  • 72
5
votes
2 answers

Does JBoss Drools really execute all rules in parallel?

I've read a lot of documentation of JBoss Drools but cannot find a definitive answer as to if all rules are executed concurrently (certainly they are fired concurrently). More specifically, for a single input and a rule set of say 1000 rules, do…
user1393285
  • 73
  • 1
  • 4
5
votes
3 answers

Dealing with massive number of Rules (conditions and constraints) CEP systems

I'm working on an application that accepts 100k+ unique inputs - for simplicity lets assume each input is a floating point value(a,b,c...etc) - though they could also be strings etc. The application has many rules/events/triggers that are related to…
4
votes
1 answer

Best Design pattern to create a rules engine

Suppose I have to design a rules engine , where depending on a static configuration rule, the chain of responsibility changes at runtime. What is the best design pattern for implementing this problem? FOr e,g. depending on some configurations, a set…
Vignesh
  • 79
  • 2
  • 5
4
votes
3 answers

Specifying and Executing Rules in Ruby

I am looking for a Ruby/Rails tool that will help me accomplish the following: I would like to store the following string, and ones similar to it, in my database. When an object is created, updated, deleted, etc., I want to run through all the…
Topher Fangio
  • 20,372
  • 15
  • 61
  • 94
4
votes
2 answers

Are function symbols allowed in rule engines / Rete algorithm?

AI: A Modern Approach brings up the Rete algorithm when discussing inference in first-order logic. However, all descriptions of the Rete algorithm I found seem to use rules free of function symbols. In other words, rules look like a(X) ∧ b(X, Y) →…
MWB
  • 11,740
  • 6
  • 46
  • 91
4
votes
1 answer

Apache flink: maintaining message input order in streams with keyBy/connect

Intro I am using apache flink to build a rather complex network of data streams. The idea is, to implement a rule engine with flink. As a basic description of the application, this is how it is supposed to work: Data is received by a kafka consumer…
user826955
  • 3,137
  • 2
  • 30
  • 71
4
votes
1 answer

How can i use Drools business rule engine with python application?

I Need a scalable business rule engine, i think Drools is good one. How can i use this Drools business rule engine with python application? If Drools is not suitable with python, please suggest a good one for python? Thanks in advance, Jerin John
jerinjo
  • 65
  • 1
  • 1
  • 5
4
votes
2 answers

How can we configure a Datasource as for Camunda DMN

I am using Camunda DMN for managing rules in my application. I want the input/output conditions of the rules to be updated by the end users, is there a way to connect to it to Database and have the values fetched directly from there? Note: I have…
Vipul
  • 566
  • 5
  • 29
4
votes
3 answers

applying business rules at the database level

I'm working on a project in which we will need to determine certain types of statuses for a large body of people, stored in a database. The business rules for determining these statuses are fairly complex and may change. For example, if a person…
Jacob Mattison
  • 50,258
  • 9
  • 107
  • 126
4
votes
1 answer

Multiple boolean conditions in a rule in drools?

I have created a rule whose "when" condition is as follows :- when $map: Map(this["key1"].equals("value1")) and Map(this["key2"].equals("value2")) then ... The above condition is working fine. Now how do I add multiple boolean conditions in a…
Yatin
  • 727
  • 1
  • 9
  • 40