[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: A design problem

  • From: "Peter Hunsberger" <peter.hunsberger@g...>
  • To: xml-dev@l...
  • Date: Thu, 19 Oct 2006 10:44:15 -0500

design rule engine
On 10/19/06, LAKKAM Vinay (AXA-I) <Vinay.Lakkam@a...> wrote:
> Hi,
>
> I need a suggestion for an xml design in my project.
>
> We have a requirement to build a rules engine which will be accessed very
> frequently(almost after every screen) to get a rule result. The rules engine
> will have about 100 rules, and when we pass the input information it will
> process again all the rules and returns the matched.
>
> I could only think of using a database table to implement this rules engine.
> For that I need to call DB after each screen to check if any rules matched.
> But this is going effect the performance of the system. The other way is to
> get all rules initially, preserve it with message that you send between
> server and client, and use to get the matched rules whenever needed. But the
> increased message size will again cause degrade in system performance if the
> rules size goes big.

You're talking very small rule set sizes.  Any standard database
should be able to keep such a set in memory and provide very good
response times.  It seems unlike the issue will be in rule look up,
rule processing might be a different matter

>
> And new rules will added to the rules engine by admin people, whenever
> needed.
>
> Could you please suggest the alternative ideas to implement this.
>
> (We use xml based j2ee framework.)
>

As suggested have a look at the vendor offerings.

We run a proprietary system that evaluates potentially 1000's of rules
for every screen with about 2000 different screens. The total rule
base size is probably being on the order of 200,000+ rules.  We use a
mixture of XSLT and Java to evaluate XML encoded rules.  Performance
generally is sub second, although we have some data heavy screens that
have performance issues related to the data set sizes.  We'll be
fixing many of those issues by using AJAX style updating of the
screens (as opposed to swapping the entire data set back and forth for
minor updates).

-- 
Peter Hunsberger

  • References:

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.