Business Rules

Something to watch: Ruleby, a Ruby RETE Implementation

As Rails (and Ruby) climbs the hype curve, more and more systems are getting implemented that could benefit from a BRE. There are two (Rools and SIE) that don't use RETE. But Ruleby does, though it is in version 0.1 now. I'll post a couple of examples in it in the next couple of weeks.

Technorati Tags: , , , , , ,

Topics: ,

Comments: 1 so far

  1. There are some major design and performance considerations for Ruleby to become a first class RETE implementation. The first is the issue of duck typing, which is a complex issue. Even though I’ve suggested some potential solutions to solve duck typing issues, it’s partial at best.

    To really handle duck typing correctly and still maintain good performance with Ruby is going to be very challenging. The second issue which may take 3-10 years to solve is Ruby’s performance.

    by far the biggest issue facing ruleby is how to handle dynamic modification of objects at runtime. If you allow it, the RETE network topology will take a huge hit and it can’t use object type nodes. Instead, it has to take the older relational design Dr. forgy described in his thesis. But even that doesn’t begin to address the issue of what happens when an object adds and removes attributes at runtime.

    My best guess is that a proper and mature implementation for Ruby is going to be atleast 10 years off at best. that’s assuming the ruleby guys can get a solid understanding of RETE algorithm within 2 years. I tried to help them out last year and gave them suggestions, but learning RETE takes years.

    Comment by peter lin, Thursday, January 31, 2008 @ 12:48 pm

Leave a comment

Powered by WP Hashcash

About Pathfinder

  • We design and build extraordinary applications for companies looking to make the next great idea a reality.
  • learn more

Topics

WordPress

Comments about this site: info@pathf.com