Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How Do I Improve Oracle Business Rules Runtime Performance?

0
Posted

How Do I Improve Oracle Business Rules Runtime Performance?

0

When trying to increase the performance of an application that uses a RuleSession object, you should try to minimize the number of times that you open the Repository and generate the RL code. Thus, you should avoid opening and reading a Repository for each RuleSession instance you create; this practice should allow the program to perform well in most cases. You can share the String object containing generated RL code, so that all application instances can use it for loading the rules into a private RuleSession object. If your application requires additional performance tuning, you can use a pooling mechanism to share a set of RuleSession objects. In this case, a common pool would hold RuleSession objects and a thread could obtain an object from the pool, use the object for a series of operations, and then return the object to the pool. RuleSession objects which throw an exception should not be reused. If an exception was thrown by the RuleSession, the pool would need to discard this in

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123