Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6941517
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T12:53:46+00:00 2026-05-27T12:53:46+00:00

I was considering using Drools Fusion to implement the following exemplary rules: if customer

  • 0

I was considering using Drools Fusion to implement the following exemplary rules:

  • if customer bought two same products within a year, she gets third for free
  • for spending more than 200 USD in at most three consecutive transactions customer gets a discount
  • when the customer is inactive for more than a year a reminder is generated
  • a supervisor is notified when a single order is greater than an average order value within last six monhts
  • …and so on, these are just examples from the top of my head

All these rules can be easily expressed using Drools Fusion. However after creating a prototype and reviewing the documentation it seems like this product is better suited for short-term, transient events (stock market, real-time decision making).

The question is: is it required to store all events in memory? (possibly millions of very old purchases). Moreover can Drools Fusion store events so that they survive server restart? (Ideally in the database).

I know Drools Fusion events are simply facts in Drools Expert, so maybe the question can be expanded to: can Drools Expert persist and lazily load facts?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T12:53:46+00:00Added an answer on May 27, 2026 at 12:53 pm

    What you can do is to load the history information per customer each time that you get a new transaction for that customer. Or periodically load the information to review inactive customers.
    All the examples that you mention looks like Facts to me. Obviously that you can model everything as events, but as you mention that will cause that you will need to have everything in memory.
    To answer your question about store/handle million of events, you first need to answer the question if the JVM will support to have all those objects in memory.

    Cheers

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm considering using eWay as payment gateway. They offer two options. One is to
I´m considering using Kooboo as an intranet management system. Are there same featured in
I'm considering using WCF Data Services to implement a service exposing objects stored in
We are strongly considering using Workflow Foundation 4 in our products, however must support
I'm considering using the Google Contacts API for a webapp, but I'm worried that
I'm considering using memcached (at some point) in my application i'm currently developing. Eventually,
I'm considering using Grails for my current project. I have a couple of requirements
I am considering using something like StackFrame stackFrame = new StackFrame(1) to log the
I am considering using ClickOnce for a legacy Windows Forms application. I have several
I'm considering using a neural network to power my enemies in a space shooter

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.