Published Sep 3, 2019

SE-Radio Episode 299: Edson Tirelli on Rules Engines

Explore the essential role of rules engines in automating business processes as Edson Tirelli delves into complex event processing, integration with business workflows, and the architecture of JBoss Drools, providing insights into efficient decision-making and dynamic rule management.
Episode Highlights
Software Engineering Radio - the podcast for professional software developers logo

Popular Clips

Episode Highlights

  • Complex Event Processing

    Complex event processing (CEP) is a critical discipline in business operations, focusing on detecting patterns in event streams to generate higher-level events. explains that CEP adds a real-time component to solutions, allowing for immediate decision-making based on live data streams. This capability is particularly useful in scenarios like server monitoring, where it can predict and respond to high loads before they become critical 1.

    Complex event processing allows you to monitor real-time events in streams of events, and then make decisions based on those streams of events.

    ---

    In contrast to traditional batch processing, CEP maintains a stateful awareness of ongoing events, enabling continuous monitoring and optimization 1.

       

    Stateful vs Stateless

    Stateful processing in rules engines is essential for handling complex events, as it requires maintaining awareness of the entire context over time. highlights that stateful applications, like those monitoring server states, must track changes continuously to make informed decisions 2. In contrast, stateless processing deals with isolated requests, discarding data after each transaction.

    For cases where you are heading more towards complex event processing, where you have stateful rules working there, usually you need all the state present so that you can reason over the state.

    ---

    This distinction is crucial for optimizing performance, as stateful systems handle millions of facts concurrently, while stateless systems focus on smaller, independent data sets 3.

Related Episodes