Thank you for the advice. That's a good solution if we choose to deploy the
rule engines as standalone services.
We are also evaluating deploy the rule engine as a embedded component in
legacy applications. In this case they have to be in the same JVM.
-Ping
--
View this message in co
nt, I need to
reuse the stateful session. In that case, will the memory be a problem if I
keep the session running too long without dispose it? Or I need to create a
new session once every hour or day? Or maybe retracting the facts will keep
the memory footprint low?
-Ping
--
View this messa
I tried profiling my test program and found that all thread spent most of
their time blocking or waiting for the same lock:
org.drools.runtime.process.ProcessRuntimeFactory.getProcessRuntimeFactoryService()
and
org.drools.common.AbstractRuleBase.lock()
examples:
Thread-6 [WAITING] CPU time: 1s
j
hi Salaboy,
Thank you for your reply. I read some of your blog posts and find them very
helpful for my learning of Drools.
But for the question I raised here, "create multiple stateless sessions with
the same rules in different threads" is exactly what I was trying. But I
found that the rule engin
found that most of time threads were blocked by static class locks
like:
public static synchronized ProcessRuntimeFactoryService
getProcessRuntimeFactoryService()
Anyone has experience scaling up a stateless drools engine?
Thanks a lot.
-Ping
--
View this message in context:
http://drool
hanks.
-Ping
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ingomar Otter
Sent: Monday, September 29, 2008 12:47 PM
To: Rules Users List
Subject: Re: [rules-users] memory issue when listening to market data
Given the information remote diagnosis is not feasib
It's Linux 2.6.9-42.0.10.ELsmp, with Sun jdk1.5.0_08. If top is not
reliable, how should I detect if there is any native memory leak?
Thanks.
-Ping
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Augusto
Rodriguez
Sent: Monday, Septemb
thing when it's very busy? What is supposed to
happen if drools could not handle the work load?
Thanks for your help.
-Ping
-
The information contained in the linked e-mail transmission and any attachments
may be
privileged and confidential and i
m log. The new rule I just added works fine, but the old
rule looks get screwed.
All rules work fine if I restart my program.
Seems that the RuleAgent did not update all rules correctly, I wonder if
anyone has solution for this?
Thanks.
-Ping
-
The i