Dear Friends,
I am working on a requirement where we have 300 Business Rules to be Checked/executed for each request . For this we have created a Service which has a Rule Set and many IF else Conditions. My input payload is Unbounded i.e for each collection element in file i need to execute these rules. Ex - File has root <TransInput> and inside it <Person> which is repeating . For each of <Person> we need to execute these 300 Rules. This works fine when I have less number of records in file example 10 <Person> then it will complete in 500 ms where as when the number of record grows to say 100 the time taken to complete the request is 86 Sec. I cannot split the file and pass into Rule Engine as i have many rule which are depended on previous element example the Unique record in file condition.
I am understanding this performance Issue is happening as Rule are executed in Sequential, so when the number of records grows the execution time also increases. Please suggest if there a way to make the Rule Execution to Parallel instead of Sequential in Oracle Business Rule Engine.
Awaiting response.
Regards,
Sujit Nair