On 02/03/2012 17:52, gboro54 wrote: > Would you partition the KnowledgeBase or the Sessions? Additional would each > Order being evaluated create a new session? It depends on your problem and your data.
Mark > > > > gboro54 wrote >> Could you elaborate on that a little more Mark? >> >> >> Mark Proctor wrote >>> Parition yourself ahead of time. Choose a key that is a true partition >>> of your data, chose the number of partitions, create a kbase per >>> partition and then hash on your inserted data to get the target kbase. >>> >>> Mark >>> On 02/03/2012 16:23, gboro54 wrote: >>>> We are writing a billing system using Drools to evaluate orders placed >>>> during >>>> the day(this is a month to date process which will run nightly and we >>>> will >>>> be bringing a real-time solution online later this year after we rewrite >>>> the >>>> existing). Base fees of these orders can happen in parallel and in no >>>> way >>>> affect one another, however we have price caps which do depend on the >>>> order >>>> in which the cap is applied to the order(for certain conditions on an >>>> order >>>> a surcharge may be created if a cap is applied). My past experience will >>>> Drools has been it is quicker to do as much evaluation up front rather >>>> then >>>> loop of a list of Orders and fire one at a time. However my experience >>>> in >>>> running Drools with this load is limited(by the end of the month we will >>>> have to process 15 million orders). I am open to suggestions on the >>>> best >>>> way to do this. Additionally orders are reprocessed each night as orders >>>> from a current day may affect the pricing of an order from previous >>>> days(i.e >>>> a tier rate may apply, etc.) >>>> >>>> >>>> On a side note I found that the issue is a NPE exception one of my rules >>>> which only occurs if I partition the rule base(I am not sure why this >>>> would >>>> make a difference). >>>> >>>> -- >>>> View this message in context: >>>> http://drools.46999.n3.nabble.com/Drools-5-3-partitioned-rule-base-tp3793558p3793979.html >>>> Sent from the Drools: User forum mailing list archive at Nabble.com. >>>> _______________________________________________ >>>> rules-users mailing list >>>> rules-users@.jboss >>>> https://lists.jboss.org/mailman/listinfo/rules-users >>> _______________________________________________ >>> rules-users mailing list >>> rules-users@.jboss >>> https://lists.jboss.org/mailman/listinfo/rules-users >>> > > -- > View this message in context: > http://drools.46999.n3.nabble.com/Drools-5-3-partitioned-rule-base-tp3793558p3794233.html > Sent from the Drools: User forum mailing list archive at Nabble.com. > _______________________________________________ > rules-users mailing list > rules-users@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/rules-users _______________________________________________ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users