Section "2.2. Why use a Rule Engine" in the documentation gives a wealth
of extra information that I forgot about first time round!
-----Original Message-----
From: Anstis, Michael (M.)
Sent: 08 August 2008 09:07
To: 'Rules Users List'
Subject: RE: [rules-users] Drools vs Business Logic
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(a)lists.jboss.org
[mailto:rules-users-bounces@lists.jboss.org] On Behalf Of Harsh Jetly
Sent: 08 August 2008 08:18
To: rules-users(a)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(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users