Another standard procedure is doing "load fact on demand".
rule "load missing"
when
$r: Request( $id: id )
not Person( id == $id )
then
fetch Person from DB
if found: insert Person
else:
error handling
retract $r
end
rule "process person"
when
$r: Request( $id: id )
$p: Person( id == $id )
then
process Person
retract $r and $p
end
-W
2011/12/12 WangRamon <ramon_wang(a)hotmail.com>:
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.
Cheers
Ramon
________________________________
From: ramon_wang(a)hotmail.com
To: rules-users(a)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(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users