How do you know where the bottle-neck is?

What are the relative times to:-
(1) Read from the database
(2) Instantiate objects
(3) Instantiate KnowledgeBase
 


On 28 February 2014 09:47, Raja Sekhar <raja.amirapu@gmail.com> wrote:
Hi 
Can someone answer this
Thanks & Regards,
Raj


---------- Forwarded message ----------
From: Raja Sekhar <raja.amirapu@gmail.com>
Date: 28 February 2014 14:10
Subject: Knowledge base cache
To: Rules Users List <rules-users@lists.jboss.org>


Hi,
During processing a 100 thousand facts read from a database. We are measuring performance by using java's time.Some times i see a sudden rise in the times. 
It is a good solution to cache the knowledgebase.I am using the StatefulKnowledgeSession.

Regards,
Raja Sekhar Amirapu 
------------------------------------------------------




--
Raja Sekhar Amirapu
------------------------------------------------------
"If any anyone can do it, i can do it. If no one else can do it, i must do it"

_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users