Drools in multithreaded env

View: New views
3 Messages — Rating Filter:   Alert me  

Drools in multithreaded env

by Jin-7 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



Env setup:
1. There is only one instance of working memory.
2. There are at lease two threads constantly insert/update/delete facts from the
same workings memory based on some incoming messages.
3. I use temporal rules (duration clause) as well. When it is fired, it will be
on the third thread.

Question:
I can synchronize the first two threads by acquiring lock on the working memory.
But how do I synchronize the temporal rules thread especially on the left hand
side of the rules?


Thanks,
Jin

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

Rule Agent Performance : BRMS or pkg file ?

by Cabou, Carl :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

I'm using Drools 4.0.7.

I use the Drools api in my application with the rule Agent as describe
in the section 9.4.4.1 of the documentation and it works fine.

Since our application is running under weblogic 8.1, we must use JBoss
for BRMS because weblogic 8.1 is not java5 compliant, but I don't want
to use multiple app servers.

So the question is : what is best for performance ? use the BRMS at
runtime (< url > property) on JBoss or use only packages files on disk
(< file > property).

Anyway I will do perf benchmarks, I'm assuming it is better with package
files but I'd like to have some feedback before...


Regards,

Carl.


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

Heap Size for BRMS in WebLogic

by Vikas Phonsa-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi All,

Anybody using BRMS in Weblogic? What's the JVM heap size that you are
using ?

I'm using 1 GB, but the server keeps going down (into ADMIN status).
There are no exceptions in the logs. But there are several messages
related to memory usage in logs.

Anybody experienced anything like that.

Thanks in advance.
Vikas


This email and/or any files or attachments transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this e-mail and/or any files or attachments transmitted with it is strictly forbidden. If you have received this email in error, please delete the e-mail and/or any files or attachments, and also notify the system manager (PostMaster@...) of the error. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Finally, the recipient should check this email and any attachments for the presence of !
 viruses. The company accepts no liability for any damage caused by any virus transmitted by this email and/or any files or attachments transmitted with it.



_______________________________________________
rules-users mailing list
rules-users@...
https://lists.jboss.org/mailman/listinfo/rules-users
LightInTheBox - Buy quality products at wholesale price