[rules-users] Drools Performance Analysis Required

2014-07-24 Thread Zahid Ahmed
Hi, I need to know the Drools capacity to execute the rules. I need to know how many rules it can execute at a time and with how many facts. I need to know the memory stats. We are planning for a central rules execution server with executing around 10,000 rules per request and requests per

Re: [rules-users] Drools Performance Analysis Required

2014-07-24 Thread Stephen Masters
Your specific rules have so much more impact on these stats than any of the factors you mention such as numbers of rules and facts. The number of rules by itself has very little impact on performance, except at start-up time. There are knowledge bases out there with 100,000 rules, which

Re: [rules-users] Drools performance

2013-12-19 Thread laune
You can't set Drools to read N events per second. Performance depends on several factors, so asking for how many events doesn't make sense. Benchmark. Who should admit a delay? -W -- View this message in context: http://drools.46999.n3.nabble.com/Drools-performance-tp4027355p4027367.html

[rules-users] Drools Performance

2012-07-01 Thread elena_nard...@libero.it
Hi, I am wondering about using Drools rule engine. I have to threat with a large data set, so I would like to know about rule engine performance. Could someone help me? Thanks a lot, Elena ___ rules-users mailing list rules-users@lists.jboss.org

Re: [rules-users] Drools Performance

2012-07-01 Thread Wolfgang Laun
No answer can be given without the asker providing substantial information. As to your (only) question: yes, that's the idea of this list. Ciao -W On 1 July 2012 19:00, elena_nard...@libero.it elena_nard...@libero.itwrote: Hi, I am wondering about using Drools rule engine. I have to threat

Re: [rules-users] Drools Performance

2012-07-01 Thread Cedric Hurst
Hi Elena, Sorry I missed you on IRC earlier. Before addressing rule engine performance, you want to make sure you have a clear understanding of how the Rete algorithm works. This is the algorithm that drives most rule-based expert systems, including Drools. There's a great presentation

[rules-users] Drools Performance and Maintanability

2012-04-23 Thread dollanitri
Hello, Recently i started playing out with Drools Guvnor GUI and created couple of rules based on DecisionTable GUI Editor and also ruleflows in eclipse. Then integrated Drools with Java Custom Web Application and tried out executing rules on front end by changing rules on the drools guvnor at

Re: [rules-users] Drools Performance and Maintanability

2012-04-23 Thread Michael Anstis
In response to a couple if your questions:- 1) Guvnor uses an optimistic lock at the asset (e.g. decision table) level. We do not provide for merging as you describe. 3) Guvnor uses Apache Jackrabbit for persistence. Jackrabbit can be configured to use a database however the schema Jackrabbit

Re: [rules-users] Drools Performance and Maintanability

2012-04-23 Thread Nicolas Héron
Hello, about your point #1, you can use status of rules and therefor only build in production if a rule is in special case, but is is tricky and there is no merge facility and possibility in Guvnor. The only way is to do it from whithin eclipse with the the guvnor plugin over webdav. about your

Re: [rules-users] Drools Performance and Maintanability

2012-04-23 Thread dollanitri
Thanks for your inputs.. #1. it means if multiple users update same record (in this case decision table ) then other one changes will be overwritten, as it shouldn't be i believe. #3. is it way to import this repository into eclipse to see data by using some plugin ? -- View this message

Re: [rules-users] Drools Performance and Maintanability

2012-04-23 Thread Michael Anstis
#1 - Two users, (1) and (2), open the same asset. User (1) saves OK. User (2) will be prevented from saving as their view of the underlying asset is out of date. This is how the optimistic lock pattern works. It is ideal for low con-currency usage patterns, which is how we envisage Guvnor

Re: [rules-users] Drools Performance and Maintanability

2012-04-23 Thread dollanitri
Hi Nicolas, Thanks for your valuable inputs. #2, did you observered how much memory was consumed while building such huge rules ? do we need to consider memory consumption in this case? -- View this message in context:

Re: [rules-users] Drools performance

2012-04-03 Thread Hassan
Hi laune ! Sorry to be late, Actually, all of these objects are needed in the WM. Concerning the idea of clearing and reinserting objects, I think that it will take a lot of time and that what I want to avoid :( thanks a lot :) - Youssef AZBAKH. -- View this message in context:

[rules-users] Drools performance

2012-03-30 Thread Hassan
Hi everyone, In one of my tests, I inserted 100 objects into the working memory, drools engine made a lot of time to execute the program and it throws Exception : java.lang.OutOfMemoryError !! Please if someone could help me to improve drools performance and specially reduce the drools

Re: [rules-users] Drools performance

2012-03-30 Thread Esteban Aliverti
Model Definition? Rules Definition? How much memory your 100 objects are consuming? Best Regards, Esteban Aliverti - Developer @ http://www.plugtree.com - Blog @ http://ilesteban.wordpress.com On Fri, Mar 30, 2012 at 1:30 PM, Hassan

Re: [rules-users] Drools performance

2012-03-30 Thread Hassan
Hi, Actually I m working on banking fraud monitoring project, and there are a very lot of objects (transactions, account, authorizations ...etc) and some rules ( 50 rules). In the test i inserted 100 of this object * private Integer chdCode; private int chdCardNumb; private

Re: [rules-users] Drools performance

2012-03-30 Thread Wolfgang Laun
This chd-Object: do you need all of them at the same time - are there any potential cross-relations between any two of these? Otherwise, insert a package, run the rules, clear WM, back to start, etc. -W On 30/03/2012, Hassan azbak...@gmail.com wrote: Hi, Actually I m working on banking

Re: [rules-users] Drools Performance /Memory Leak Issue

2011-10-30 Thread arrehman
Thanks, MBeansOption.ENABLED is working perfectly. -- View this message in context: http://drools.46999.n3.nabble.com/Drools-Performance-Memory-Leak-Issue-tp3448321p3466293.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___

[rules-users] Drools Performance /Memory Leak Issue

2011-10-24 Thread arrehman
Hi, I am not much of an expert on Drools. I got a DRL file (very small rule set of less than 10 rules, that checks few conditions, also includes DB calls). I use Drools 5.2 inside a grails application. I am using stateful session. I call this rules 100,000 times for each for each of the 100,000

Re: [rules-users] Drools Performance /Memory Leak Issue

2011-10-24 Thread arrehman
Hi, Are there any instructions on how to enable JMX Beans and monitor Drools using JConsole or JVisualVM anywhere? Thanks, Abdul -- View this message in context: http://drools.46999.n3.nabble.com/Drools-Performance-Memory-Leak-Issue-tp3448321p3448342.html Sent from the Drools: User forum

Re: [rules-users] Drools Performance /Memory Leak Issue

2011-10-24 Thread Edson Tirelli
I assume you are calling dispose() after using each session? Using stateless session is an option as well. If so, with Drools 5.2 we had a problem with jbpm being in the classpath, fixed in 5.3. Did you tried Drools 5.3 yet? To enable MBeans, just use the MBeansOption.ENABLED in the

Re: [rules-users] Drools Performance /Memory Leak Issue

2011-10-24 Thread arrehman
Hi Edson, Yes I am calling displose(). No I have not tried 5.3 it, I will give it a shot. What was the issue with jbpm being in the class path, is it related to memory leak over time? AS for MBeans, thanks, I will try that also. What I am doing now is removed all rules, putting one rule at a

Re: [rules-users] Drools Performance /Memory Leak Issue

2011-10-24 Thread arrehman
HI, There was one bad rule, when I removed that memory leak is gone and the performance improved drastically!!! (from 60 sec for 1000 records to 10 seconds, satisfies our requirements) I am not sure what is wrong with the rule, I will check that tomorrow, I am a happy man now. Abdul -- View

Re: [rules-users] Drools Performance

2011-04-29 Thread jkrupka
of your rules and avoiding time consuming activities in the RHS of your rules. -- View this message in context: http://drools.46999.n3.nabble.com/rules-users-Drools-Performance-tp2869875p2879354.html Sent from the Drools: User forum mailing list archive at Nabble.com

[rules-users] Drools Performance

2011-04-27 Thread Sumeet Karawal
Hi, I have an Application where I have to give the discount to user according to their profile points. i.e. when the user logs in, his profile points are fetched from the database, and respectively he is given the required discount. My concern is how many concurrent users will be supported by

Re: [rules-users] Drools Performance

2011-04-27 Thread Michael Anstis
If you use a stateless session per transaction you should generally be OK. How much lag you're likely to encounter is a much harder question to answer: how well does your database retrieval scale, would this present an issue before the rules engine? The rules engine is just a POJO library the

Re: [rules-users] Drools Performance

2011-04-27 Thread Sumeet Karawal
Subject:Re: [rules-users] Drools Performance

Re: [rules-users] Drools Performance

2011-04-27 Thread Michael Anstis
From: Michael Anstis michael.ans...@gmail.com To: Rules Users List rules-users@lists.jboss.org Date: 04/27/2011 04:13 PM Subject:Re: [rules-users] Drools Performance Sent by:rules-users-boun...@lists.jboss.org If you use a stateless session per

Re: [rules-users] Drools Performance

2011-04-27 Thread Mark Proctor
: Michael Anstismichael.ans...@gmail.com To: Rules Users Listrules-users@lists.jboss.org Date: 04/27/2011 04:13 PM Subject:Re: [rules-users] Drools Performance Sent by:rules-users-boun...@lists.jboss.org If you use a stateless session per

Re: [rules-users] Drools Performance

2011-04-27 Thread Sumeet Karawal
Subject:Re: [rules-users] Drools Performance Sent by:rules

Re: [rules-users] Drools Performance

2011-04-27 Thread Nicolas Héron
Hi, I have done a loyalty system with drools 4 (now they are in version 5) for a retail company in France 3 years that calculates your discount given your points, history, etc.. You have to put a lot of data in memory cache (ehcache for example) as the database is the the weak point in concurrent

Re: [rules-users] drools performance with

2010-01-22 Thread Edson Tirelli
, 1/21/10, Greg Barton greg_bar...@yahoo.com wrote: From: Greg Barton greg_bar...@yahoo.com Subject: Re: [rules-users] drools performance with To: Rules Users List rules-users@lists.jboss.org Date: Thursday, January 21, 2010, 9:04 PM This is not at all surprising. To set up and run

[rules-users] drools performance with

2010-01-21 Thread Tom Carchrae
Hello, I'm new to Drools and am trying it out. I've found it easy enough so far, but quickly ran into a performance bottleneck. (perhaps an all too familiar story! :) ). So, I made a simple example to try and track down the behavior. Here it is. I wanted to create a rule that uses an

Re: [rules-users] drools performance with

2010-01-21 Thread Greg Barton
of the question. The same relationship is there between C and java. Java gives you managed, portable code, but for that you give up the raw speed of C. --- On Thu, 1/21/10, Tom Carchrae carch...@gmail.com wrote: From: Tom Carchrae carch...@gmail.com Subject: [rules-users] drools performance

Re: [rules-users] drools performance with

2010-01-21 Thread Greg Barton
pit-out That falls into a rare class: two letter typos that pass a spell checker. :) --- On Thu, 1/21/10, Greg Barton greg_bar...@yahoo.com wrote: From: Greg Barton greg_bar...@yahoo.com Subject: Re: [rules-users] drools performance with To: Rules Users List rules-users@lists.jboss.org

Re: [rules-users] drools performance with

2010-01-21 Thread Tom Carchrae
...@yahoo.com Subject: Re: [rules-users] drools performance with To: Rules Users List rules-users@lists.jboss.org Date: Thursday, January 21, 2010, 9:04 PM This is not at all surprising. To set up and run the rules there's quite a bit of code running behind the scenes besides just the comparison

Re: [rules-users] Drools Performance

2009-02-12 Thread Ashish Soni
Any more response will be appreciated as i am in the final phase of drools evaluation and need this urgently. regards, Ashish On Wed, Feb 11, 2009 at 3:21 PM, Steve Núñez steve.nu...@illation.com.auwrote: Ashish, There are a lot of variables involved in performance benchmarking. Your

Re: [rules-users] Drools Performance

2009-02-12 Thread Edson Tirelli
Ashish, If i have 10,000 rules with same priority or equal priority then how drools engine evaluate them or what is the path it chooses. LHS side of rules are evaluated at insert time, as you may know, as this is how the Rete algorithm works. At fire time, the engine uses conflict

Re: [rules-users] Drools Performance

2009-02-12 Thread Ashish Soni
Great help , Ed. I appreciate your reply and again thanks for your valuable time. Regards, Ashish Soni On Thu, Feb 12, 2009 at 12:18 PM, Edson Tirelli tire...@post.com wrote: Ashish, If i have 10,000 rules with same priority or equal priority then how drools engine evaluate them or what

RE: [rules-users] Drools Performance

2009-02-12 Thread Vikrant Yagnick
design the rules(single rulebase, multiple rulebase) etc Cheers, Vikrant From: rules-users-boun...@lists.jboss.org [mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Ashish Soni Sent: Thursday, February 12, 2009 9:37 PM To: Rules Users List Subject: Re: [rules-users] Drools Performance Any

[rules-users] Drools Performance

2009-02-11 Thread Ashish Soni
Hi All , I am not sure if this question is asked previously but it would be great if any one can put some lights on this .. If i have 10,000 rules with same priority or equal priority then how drools engine evaluate them or what is the path it chooses. Also if there any performance metrics

Re: [rules-users] Drools Performance

2009-02-11 Thread Steve Núñez
Ashish, There are a lot of variables involved in performance benchmarking. Your scenario is common in many industries, such as insurance, that utilise large decision tables. We have previously published benchmarks comparing various rules engines at http://illation.com.au/benchmarks, however they

[rules-users] drools performance : max limit on # of facts for each execution

2008-11-18 Thread techy
If I have set of rules(say 5 rules for now.. which just compares few fields in facts and increments execution count on Rule Object as a consequence) working on single fact and I have huge amount of data to process, How many maximum facts can I insert into stateless session at a time for faster

Re: [rules-users] drools performance : max limit on # of facts for each execution

2008-11-18 Thread techy
I take back.. I noticed that it happened while I was doing memory profiling. for normal execution, it works fine.. Is there any limit on # of facts to be inserted into stateless session? or does it depend only on heap size? thanks. techy wrote: If I have set of rules(say 5 rules for now..

Re: [rules-users] drools performance : max limit on # of facts for each execution

2008-11-18 Thread Greg Barton
Heap size is the only limit. There are no other limits, AFAIK. --- On Tue, 11/18/08, techy [EMAIL PROTECTED] wrote: From: techy [EMAIL PROTECTED] Subject: Re: [rules-users] drools performance : max limit on # of facts for each execution To: rules-users@lists.jboss.org Date: Tuesday

Re: [rules-users] drools performance : max limit on # of facts for each execution

2008-11-18 Thread Maxim Veksler
I would be interested to hear the time measurements of such inserting into a stateless session. The alternative is obviously holding a statefull session, and continuously updating it with new facts. The cons of this is performance... A painful issue. On Tue, Nov 18, 2008 at 6:15 PM, techy [EMAIL

[rules-users] Drools, Performance issues on 4.0.7 Vs 2.5

2008-09-05 Thread Rout, Sushanta (ThoughtMill)
We were using Drools 2.5 version earlier. Now we have switched to drools 4.0.7. But we see significant issues with performance like drools 4.0.7 is three times slower than 2.5 . Has anybody encountered the issue? Here is a sample of the rule, we have some more similar to this. rule test

RE: [rules-users] Drools, Performance issues on 4.0.7 Vs 2.5

2008-09-05 Thread Michael Rhoden
to avoid the use of evals, if that 3x performance is a significant issue. -Michael -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rout, Sushanta (ThoughtMill) Sent: Friday, September 05, 2008 10:32 AM To: Rules Users List Subject: [rules-users] Drools

Re: [rules-users] Drools, Performance issues on 4.0.7 Vs 2.5

2008-09-05 Thread Edson Tirelli
Start by eliminating the evals and writing your constraints properly inside the patterns. Drools 3+ is orders of magnitude faster than Drools 2.x, but you need to leverage its power in your rules. Please read the manual as the version 3 was a completely rewrite of version 2. Version 4 is an