Session
GraalVM in action: Building a Polyglot Rule Engine for Dynamic Business Logic
In today's fast-paced tech world, backend systems need to be flexible and self-service to support evolving business needs. For Picnic, this means building a backend that lets operators and analysts directly define and manage the logic driving customer interactions, product personalization and internal workflows.
Our solution is a Rule Engine platform where operators can easily attach logic and effects to events by creating, testing and managing their own rules. Powered by GraalVM's polyglot capabilities, it allows analysts and other stakeholders to write rules in JavaScript or Python. This event-driven system enables self-service without developer involvement. It handles actions across the Picnic system landscape, from updating customer data to triggering communications.
In this talk, we will discuss the architecture behind our Rule Engine and share some of the challenges we faced with GraalVM’s polyglot capabilities. We will explain how we made Java-based event data accessible in guest languages. In addition, we will show how we provided extra context from our systems to the rules, and designed a simple Domain Specific Language for data retrieval and action triggering. Finally, we’ll cover how we ensure fairness and maintain performance.
Come and learn how you can leverage the potential of GraalVM!

Rick Ossendrijver
Software Engineer in Picnic's Java Platform team
Utrecht, The Netherlands
Links
Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.
Jump to top