Optimizing rulii
rulii 2.2.0 ran 1.4 million rules a second on one thread. 2.3.0 runs 8.1 million, and the rules do exactly what they did. Where the time was going, what changed, and what we measured and threw away.
rulii 2.2.0 ran 1.4 million rules a second on one thread. 2.3.0 runs 8.1 million, and the rules do exactly what they did. Where the time was going, what changed, and what we measured and threw away.
A faster engine with nothing to change in your rules, GraalJS context reuse, a flow-level exception handler that lets the flow continue, and a Spring integration where Bean Validation on rulii is opt-in and all 48 validators are XML elements.
A validation call costs a fraction of what it did: predefined constraints are checked directly, and a class with nothing else needs no engine around it. The annotations, the API and the violations are unchanged.
The bill of materials for the 2.3.0 line: rulii 2.3.0, rulii-spring 2.3.0, rulii-bean-validation 1.1.0 and rulii-explorer 1.2.0.
The explorer starts in an application on WebFlux without Spring MVC, a start-up warning is gone, and it is built against rulii 2.3.0 and rulii-spring 2.3.0.
A bill of materials that pins the matching versions of rulii, rulii-spring, rulii-bean-validation and rulii-explorer. Import it once and leave the versions off.
Forked contexts for async work, local bindings, formal result types, Jakarta EL as a scripting language, eleven more validators, and a Spring integration that makes rulii the application's Bean Validation provider.
The first release: a Jakarta Bean Validation 3.1 provider that runs every constraint as a rulii rule, with @Validate, @Expr and @Bind for what annotations cannot say.
A Beans section for the classes validated with rulii-bean-validation, result types on rule sets and flows, and a resizable sidebar.