Mario Fusco, the project lead of highly popular Red Hat open source BRMS Drools, describes “how they are changing Drools to make it part of the cloud and serverless revolution”. “Our main goal was to make the core of the rule engine lighter, isolated, easily portable across different platforms, and well-suited to run in a container. The software development landscape has changed a lot in the past 20 years. We are moving more and more toward a polyglot world” supported by GraalVM and Quarkus.
To make Drools compatible with Graal requires getting rid of runtime reflection, dynamic class loading, and other wildly used features in the existing implementation. Mario describes how it’s done and reports the first impressive benefits.
“These days, rule engines are seldom a matter of discussion. This is because they just work. A rule engine is not necessarily antithetical to a cloud environment, but work might be needed to fit the new paradigm. This was the story of our journey. We started with courage and curiosity. In the next few months, we will push this work forward to become more than a simple prototype, to realize a complete suite of business automation tools ready for the cloud. The name of the initiative is Submarine, from the famous Dijkstra quote. So, sit tight, and get ready to dive in.” Read more