<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:΢ÈíÑźÚ
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
Hi Laun<BR> <BR>I don't know how Drools can handle it or whether it can handle it even after i persist the rules into some database. But it becomes much more clearer to me that maybe Drools is not my best choice here, or at least i need to consider the options from Thomas. Thank you.<BR> <BR>Cheers<BR>Ramon<br> <BR><div>> Date: Mon, 12 Dec 2011 11:02:28 +0100<br>> From: wolfgang.laun@gmail.com<br>> To: rules-users@lists.jboss.org<br>> Subject: Re: [rules-users] Can Drools supply large Knowledge Base?<br>> <br>> Do you think that you are on the right track at all?<br>> <br>> A simple, single Java if built this way to have a size of several GBs<br>> is a no-no.<br>> <br>> -W<br>> <br>> <br>> 2011/12/12 WangRamon <ramon_wang@hotmail.com>:<br>> > Hi Thomas<br>> ><br>> > It's a tiny rule for now, but in the future i will append more conditions<br>> > automatically by machines by analyzing some user logs, the size of the rule<br>> > file may grow to several GBs and that's what i'm worrying about?<br>> ><br>> > Thanks<br>> > Ramon<br>> ><br>> > ________________________________<br>> > From: TSwindells@nds.com<br>> > To: rules-users@lists.jboss.org; rouvas@di.uoa.gr<br>> > Date: Mon, 12 Dec 2011 09:54:01 +0000<br>> > Subject: Re: [rules-users] Can Drools supply large Knowledge Base?<br>> ><br>> > That¡¯s not a big rule, that is a tiny rule.<br>> ><br>> > So I¡¯m still not sure what you are actually worrying about and why you think<br>> > you may have an issue.<br>> ><br>> ><br>> ><br>> > Thomas<br>> ><br>> ><br>> ><br>> > From: rules-users-bounces@lists.jboss.org<br>> > [mailto:rules-users-bounces@lists.jboss.org] On Behalf Of WangRamon<br>> > Sent: 12 December 2011 09:44<br>> > To: rouvas@di.uoa.gr; rules-users@lists.jboss.org<br>> > Subject
: Re: [rules-users] Can Drools supply large Knowledge Base?<br>> ><br>> ><br>> ><br>> > Hi Stathis<br>> ><br>> > You're probably right, maybe it's a wrong question, i'm new to Drools, so I<br>> > copy the rule sample from user guide as below to better explain, that's what<br>> > i need, but the rule will be automatically generated in the future..<br>> ><br>> ><br>> > package com.company.license<br>> ><br>> ><br>> ><br>> > rule "Is of valid age"<br>> ><br>> > when<br>> ><br>> > $a : Applicant( age < 18 )<br>> ><br>> > then<br>> ><br>> > $a.setValid( false );<br>> ><br>> > end<br>> ><br>> ><br>> > So in the future the rule may include more and more conditions like below:<br>> ><br>> ><br>> ><br>> ><br>> ><br>> ><br>> > rule "Is of valid age2"<br>> ><br>> > when<br>> ><br>> > $a : Applicant( age > 18 and age < 20 )<br>> ><br>> > then<br>> ><br>> ><br>> ><br>> > ...<br>> ><br>> > end<br>> ><br>> ><br>> > So it may grow to be a very large rule(?), and this is actually my question:<br>> > how to handle this big rule? Thanks you guys<br>> ><br>> > Cheers<br>> > Ramon<br>> ><br>> >> Date: Mon, 12 Dec 2011 11:33:10 +0200<br>> >> From: rouvas@mm.di.uoa.gr<br>> >> To: rules-users@lists.jboss.org<br>> >> Subject: Re: [rules-users] Can Drools supply large Knowledge Base?<br>> >><br>> >> WangRamon wrote:<br>> >> ><br>> >> > Hi Guys I'm still confused about this question, let's say i may have a<br>> >> > very large rule set, how can Drools support this case, will it load<br>> >> > every<br>> >> > rule into memor
y? Any idea? Thank you guys. CheersRamon<br>> >><br>> >> You are either asking the wrong question or you do not understand what you<br>> >> are asking.<br>> >><br>> >> In your previous post, you mentioned a Knowledge Base of 100GB.<br>> >> In this post you are talking about a rule set.<br>> >> These are different things.<br>> >> A Knowledge Base contains rules *and* facts and can indeed be quite large.<br>> >> A rule set contains only rules. For a rule set to grow this much, it means<br>> >> you have seriously misunderstand your problem. I would suggest you go back<br>> >> to the drawing board.<br>> >><br>> >> Real-world example:<br>> >> Rule set of about 400 rules.<br>> >> Facts : In the order to 100.000.<br>> >> Command line execution shows an approximate 400MB RAM consumption, meaning<br>> >> with the JDK and all (not only Drools memory consumption).<br>> >><br>> >> So, unless you want to hear from someone more experienced than me, I'd<br>> >> suggest you re-phrase your question by stating the exact problem you are<br>> >> facing or anticipating.<br>> >><br>> >> Cheers,<br>> >> -Stathis<br>> >><br>> >><br>> >><br>> >> > From: ramon_wang@hotmail.com> &g t; To: rules-users@lists.jboss.org<br>> >> > Date: Thu, 8 Dec 2011 11:59:21 +0800<br>> >> > Subject: [rules-users] Can Drools supply large Knowledge Base?<br>> >> ><br>> >> ><br>> >> ><br>> >> ><br>> >> ><br>> >> ><br>> >> ><br>> >> ><br>> >> ><br>> >> ><br>> >> ><br>> >> > Hi All<br>> >> ><br>> >> > I'm new to Drools, I will build a very large Knowledge Base, let's say<br>> >> > it<br>> >> >
will be larger than 100GB, the files will be stored in a distribute<br>> >> > database, so can Droools supply this large Knowledge Base? Any solution?<br>> >> > Thank you very much.<br>> >> ><br>> >> > Cheers<br>> >> > Ramon<br>> >> ><br>> >> ><br>> >> > _______________________________________________<br>> >> > rules-users mailing list<br>> >> > rules-users@lists.jboss.org<br>> >> > https://lists.jboss.org/mailman/listinfo/rules-users<br>> >> > _______________________________________________<br>> >> > rules-users mailing list<br>> >> > rules-users@lists.jboss.org<br>> >> > https://lists.jboss.org/mailman/listinfo/rules-users<br>> >> ><br>> >><br>> >><br>> >> _______________________________________________<br>> >> rules-users mailing list<br>> >> rules-users@lists.jboss.org<br>> >> https://lists.jboss.org/mailman/listinfo/rules-users<br>> ><br>> ><br>> > ________________________________<br>> ><br>> > **************************************************************************************<br>> > This message is confidential and intended only for the addressee. If you<br>> > have received this message in error, please immediately notify the<br>> > postmaster@nds.com and delete it from your system as well as any copies. The<br>> > content of e-mails as well as traffic data may be monitored by NDS for<br>> > employment and security purposes. To protect the environment please do not<br>> > print this e-mail unless necessary.<br>> ><br>> > NDS Limited. Registered Office: One London Road, Staines, Middlesex, TW18<br>> > 4EX, United Kingdom. A company registered in England and Wales. Registered<br>> > no. 3080780. VAT no. GB 603 8808 40-00<br>> > ****************************************
**********************************************<br>> ><br>> > _______________________________________________ rules-users mailing list<br>> > rules-users@lists.jboss.org<br>> > https://lists.jboss.org/mailman/listinfo/rules-users<br>> ><br>> > _______________________________________________<br>> > rules-users mailing list<br>> > rules-users@lists.jboss.org<br>> > https://lists.jboss.org/mailman/listinfo/rules-users<br>> ><br>> <br>> _______________________________________________<br>> rules-users mailing list<br>> rules-users@lists.jboss.org<br>> https://lists.jboss.org/mailman/listinfo/rules-users<br></div>                                            </div></body>
</html>