[rules-users] Can Drools supply large Knowledge Base?

WangRamon ramon_wang at hotmail.com
Mon Dec 12 04:58:31 EST 2011


Hi Thomas It's a tiny rule for now, but in the future i will append more conditions automatically by machines by analyzing some user logs, the size of the rule file may grow to several GBs and that's what i'm worrying about? ThanksRamon
 From: TSwindells at nds.com
To: rules-users at lists.jboss.org; rouvas at di.uoa.gr
Date: Mon, 12 Dec 2011 09:54:01 +0000
Subject: Re: [rules-users] Can Drools supply large Knowledge Base?











That’s not a big rule, that is a tiny rule.
So I’m still not sure what you are actually worrying about and why you think you may have an issue.
 
Thomas
 



From: rules-users-bounces at lists.jboss.org [mailto:rules-users-bounces at lists.jboss.org]
On Behalf Of WangRamon

Sent: 12 December 2011 09:44

To: rouvas at di.uoa.gr; rules-users at lists.jboss.org

Subject: Re: [rules-users] Can Drools supply large Knowledge Base?


 

Hi Stathis

 

You're probably right, maybe it's a wrong question, i'm new to Drools, so I copy the rule sample from user guide as below to better explain, that's what i need, but the rule will be automatically generated in the future..

 




package com.company.license
 
rule "Is of valid age"
when
    $a : Applicant( age < 18 )
then
    $a.setValid( false );
end
 

So in the future the rule may include more and more conditions like below:

 




 
 
rule "Is of valid age2"
when
    $a : Applicant( age > 18 and age < 20 )
then
    
...
end


So it may grow to be a very large rule(?), and this is actually my question: how to handle this big rule? Thanks you guys

 

Cheers

Ramon

> Date: Mon, 12 Dec 2011 11:33:10 +0200

> From: rouvas at mm.di.uoa.gr

> To: rules-users at lists.jboss.org

> Subject: Re: [rules-users] Can Drools supply large Knowledge Base?

> 

> WangRamon wrote:

> >

> > Hi Guys I'm still confused about this question, let's say i may have a

> > very large rule set, how can Drools support this case, will it load every

> > rule into memory? Any idea? Thank you guys. CheersRamon

> 

> You are either asking the wrong question or you do not understand what you

> are asking.

> 

> In your previous post, you mentioned a Knowledge Base of 100GB.

> In this post you are talking about a rule set.

> These are different things.

> A Knowledge Base contains rules *and* facts and can indeed be quite large.

> A rule set contains only rules. For a rule set to grow this much, it means

> you have seriously misunderstand your problem. I would suggest you go back

> to the drawing board.

> 

> Real-world example:

> Rule set of about 400 rules.

> Facts : In the order to 100.000.

> Command line execution shows an approximate 400MB RAM consumption, meaning

> with the JDK and all (not only Drools memory consumption).

> 

> So, unless you want to hear from someone more experienced than me, I'd

> suggest you re-phrase your question by stating the exact problem you are

> facing or anticipating.

> 

> Cheers,

> -Stathis

> 

> 

> 

> > From: ramon_wang at hotmail.com> &g t; To:
rules-users at lists.jboss.org

> > Date: Thu, 8 Dec 2011 11:59:21 +0800

> > Subject: [rules-users] Can Drools supply large Knowledge Base?

> >

> >

> >

> >

> >

> >

> >

> >

> >

> >

> >

> > Hi All

> >

> > I'm new to Drools, I will build a very large Knowledge Base, let's say it

> > will be larger than 100GB, the files will be stored in a distribute

> > database, so can Droools supply this large Knowledge Base? Any solution?

> > Thank you very much.

> >

> > Cheers

> > Ramon

> >

> >

> > _______________________________________________

> > rules-users mailing list

> > rules-users at lists.jboss.org

> > https://lists.jboss.org/mailman/listinfo/rules-users

> > _______________________________________________

> > rules-users mailing list

> > rules-users at lists.jboss.org

> > https://lists.jboss.org/mailman/listinfo/rules-users

> >

> 

> 

> _______________________________________________

> rules-users mailing list

> rules-users at lists.jboss.org

> https://lists.jboss.org/mailman/listinfo/rules-users









**************************************************************************************

This message is confidential and intended only for the addressee. If you have received this message in error, please immediately notify the postmaster at nds.com and delete it from your system as well as any copies. The content of e-mails as well as traffic data
 may be monitored by NDS for employment and security purposes. To protect the environment please do not print this e-mail unless necessary.



NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18 4EX, United Kingdom. A company registered in England and Wales. Registered no. 3080780. VAT no. GB 603 8808 40-00

**************************************************************************************





_______________________________________________
rules-users mailing list
rules-users at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20111212/254f4f89/attachment.html 


More information about the rules-users mailing list