-
Feature Request
-
Resolution: Unresolved
-
Critical
-
6.0.1.Final, 6.1.0.Final
The XmlSolverFactory.buildSolver() method takes about 5-10 seconds to execute which adds a significant amount of time to each execution of the engine (especially for small problems). The large majority of that time is building the KieBase object as seen in the screenshot below.
Ideally Solvers should be lightweight (like EntityManager in JPA) and their creation should not take any noticeable time.
Required in a multi-tenant environment.
- is duplicated by
-
PLANNER-2221 Cache SolverFactory's KieBase, etc (and in Quarkus build it at build time)
- Open
- is incorporated by
-
PLANNER-304 Make OptaPlanner even faster (less slow) and even more scalable
- Resolved
- is related to
-
PLANNER-253 Solver configuration must be able to use KieSession defined in kmodule.xml
- Resolved
- relates to
-
PLANNER-344 KContainer support: kie-api wrapper for SolverFactory and Solver so Workbench and Execution Server can treat it like a kjar
- Resolved