[rules-users] Drools vs Business Logic

Anstis, Michael (M.) manstis1 at ford.com
Fri Aug 8 04:06:57 EDT 2008


Well, IMO, common sense suggests highly specialised hand crafted code
optimised to a particular problem domain *should* be faster than a
generic algorithm (taking this further why not dump the high level
languages all together and opt for C++ or assembler, if you really
really want you squeeze performance?!?). However should your problem
domain change you have the burden of changing and re-optimising your
code. Lots of hassle. IMO, rule engines are great where your problem
domain is likely to change or you want to externalise your rule
definitions for whatever reason (maintainability, exposure to user
definitions etc). You'd be better off comparing the performance of a
prototype hand-crafted solution to generic rule engine solution - I
think you'd be surprised as to just how fast the generic solution is -
there have been quite a few postings to this group where people have
done performance tests of Drools. Only you can make these decisions as
you know your requirements best. 

-----Original Message-----
From: rules-users-bounces at lists.jboss.org
[mailto:rules-users-bounces at lists.jboss.org] On Behalf Of Harsh Jetly
Sent: 08 August 2008 08:18
To: rules-users at lists.jboss.org
Subject: [rules-users] Drools vs Business Logic 


Hi ,


Firstly I would like to apologize for sending the same question to both
the
mailing lists and sending it multiple number of times. I assure you , it
shall not happen again .


I am using version 4.0.4 of drools . I have a basic question :
If we compare a rule engine to code written within the application ,
which
would prove to be faster .
I know about the rete algorithm and concepts of node sharing and caching
.
Another question that I have is , in which situation will Drools be best
suited ?

Thanks a ton
Harsh Jetly


Larsen & Toubro Infotech Ltd.
www.Lntinfotech.com

This Document is classified as:

|------|
| [X]  |
|------|L&T Infotech Proprietary   |------|
                                   | [ ]  |
                                   |------|L&T Infotech Confidential
|------|
                                                                       |
[ ]  |
 
|------|
L&T Infotech Internal Use Only   |------|
                                 | [ ]  |
                                 |------|L&T Infotech General Business

This Email may contain confidential or privileged information for the
intended recipient (s) If you are not the intended recipient, please do
not
use or disseminate the information, notify the sender and delete it from
your system.


______________________________________________________________________
_______________________________________________
rules-users mailing list
rules-users at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users




More information about the rules-users mailing list