We use cookies, including third-party cookies from Google to serve personalized ads through AdSense, to operate this site and understand how it is used. By continuing to browse, you accept this use. See our Privacy Policy and Terms of Use for details, including how to opt out of personalized advertising.
Accept
SmartData CollectiveSmartData Collective
  • Analytics
    AnalyticsShow More
    What Kind of Problem-Solving Distinguishes Data Analysts From Software Engineers -- AI-generated illustration
    What Kind of Problem-Solving Distinguishes Data Analysts From Software Engineers
    7 Min Read
    chatgpt image jul 21, 2026, 04 34 30 pm
    4 Core Benefits of Predictive Maintenance after Vibration Analysis
    10 Min Read
    How Does Data Mining Boost Customer Satisfaction in Logistics? Harnessing Analytics for Results -- AI-generated illustration
    How Does Data Mining Boost Customer Satisfaction in Logistics? Harnessing Analytics for Results
    11 Min Read
    chatgpt image jul 13, 2026, 04 23 45 pm
    How Data Analytics Helps Companies Improve User Engagement
    19 Min Read
    chatgpt image jul 13, 2026, 03 59 46 pm
    How Data Analytics Improves Multi-Location Search Strategies
    10 Min Read
  • Big Data
  • BI
  • Exclusive
  • IT
  • Marketing
  • Software
Search
© 2008-25 SmartData Collective. All Rights Reserved.
Reading: RulesFest 2011 – Kenny Shi: Scalability in a Real-Time Decision Platform
Share
Notification
Font ResizerAa
SmartData CollectiveSmartData Collective
Font ResizerAa
Search
  • About
  • Help
  • Privacy
Follow US
© 2008-23 SmartData Collective. All Rights Reserved.
SmartData Collective > Business Intelligence > Business Rules > RulesFest 2011 – Kenny Shi: Scalability in a Real-Time Decision Platform
Business Rules

RulesFest 2011 – Kenny Shi: Scalability in a Real-Time Decision Platform

CMatignon
CMatignon
5 Min Read
RulesFest 2011 – Kenny Shi: Scalability in a Real-Time Decision Platform
Illustration generated with FLUX.2 [klein 4B] via Cloudflare Workers AI.
SHARE

My friend Kenny has decided to also talk about performance.  Given the magnitude of the traffic on eBay and the number of rules they need to activate, I can’t think of a best person to talk about scalability issues.  Disclaimer, Kenny will be my co-presenter next week at Business Rules Forum 😉

So many ways to fraud…  We know quite a bit about credit card and debit card fraud, and a little about insurance fraud, from our FICO days.  Fraud for online e-commerce is quite a bit more diverse.  Those fraudsters are incredibly creative when it comes to finding weaknesses in the system.  Kenny’s examples of fraud always impressed me as I do not believe I could have come up with nearly half of those scams!

The fraud detection architecture applies rules and models as a service, invoked either synchronously (SOAP interface to the application) or asynchronously (via a message bus).  The presentation focuses on making faster and more scalable real-time decisions.

From a developer / architect perspective, it would be more comfortable to preocess the cases offline of course but the nature of the business requires more timely detection – both in terms of revenue protection and customer satisfaction.

Fraud detection is the result of expert rules and data-driven analytics.  Neural nets can detect trends that are buried in past transactions.  Rules address flash fraud detection, e.g. patterns identified by fraud experts before models have had a chance to learn about those.  As expected both of them require a ton of data to make good decisions, including some sophisticated computations.  Data retrieval and normalization takes most of the transaction time.  In the end, neural net processing represents only 2% of the time, and rules 3%.

Logically, many performance efforts by Kenny’s team have been focused on data.  Data access is one area that Kenny covered.  More interestingly, he analyzed other related avenues that relate more directly to decisioning “optimizations”:

  • Unnecessary variables
  • Excessive logic
  • Conflicting logic

Independently, optimization techniques:

  • Pre-fetch — although it goes against the very flexible and dynamic nature of rules
  • Lazy load: only when needed, with smart ordering of conditions from most discriminating / cheaper to least — not always easy to estimate though
  • Pre-aggregation of data — freshness can be addressed by aggregating up to “yesterday” for example and then look at real-time data for the current day only

Distributed locality could be addressed with distributed hash tables and other architecture tactics that Kenny quickly went through.

Horizontal scability with server clusters, etc.  Database partition can help, based on data access patterns — per seller, per IP address.

Scalability for Rule Authoring

Sharing variables implies srong capabilities to catalog and describe variables so that all modelers and rules writers can safely and conveniently reuse those characteristics.

Great plug for Sparkling Logic — Thanks!  But seriously, Kenny really appreciated the fluid metaphors we came up with, which help address that very set of problems.

Scalability for Rule Deployment

The continuous integration of rules allows to detect problems earlier and more frequently.  As an added bonus the deployment is ready when it is time to deploy.

Statistical testing is similar to Champion Challenger in the sense that it allows the experts to compare the Production rules with the new Testing rules.  Kenny went a little fast

Other techniques like smoketests and incremental deployment allow to test without impacting the entire workload.

Dog-food approach: Kenny also uses rules to monitor rules.  Smart.

As you can imagine, constant monitoring allows to ensure that they are on-target with their performance objectives.

Closing remark: Fraudsters are very creative so catching them is like a game of Catcha Mouse!

 

Wow…  What a fast speaker!

Check out the abstract here.

Powered By WizardRSS.com | Full Text RSS Feed | Amazon Plugin | Settlement Statement

Share This Article
Facebook Pinterest LinkedIn
Share

Follow us on Facebook

Latest News

Technical architecture diagram and decision framework for the trouble with ai that won’t leave a job unfinished
The Trouble With AI That Won’t Leave a Job Unfinished
Artificial Intelligence News
Technical architecture diagram and decision framework for ai-powered logo generation: design.com vs looka
AI-Powered Logo Generation: Design.com vs Looka
Artificial Intelligence Exclusive
Retailers Should Stop Treating Every Stockout as Equal -- AI-generated illustration
Retailers Should Stop Treating Every Stockout as Equal
Business Intelligence Exclusive
Best Vibe Coding Cleanup Specialists in the USA: Fix or Rebuild? -- AI-generated illustration
Best Vibe Coding Cleanup Specialists in the USA: Fix or Rebuild?
Development Exclusive

Stay Connected

1.2KFollowersLike
33.7KFollowersFollow
222FollowersPin

You Might also Like

CEOs: Hold Your Team Accountable for Data Analysis
AnalyticsBest PracticesBig DataBusiness IntelligenceBusiness RulesCulture/LeadershipData ManagementDecision ManagementInside CompaniesITKnowledge ManagementMarket ResearchMarketingPolicy and Governance

CEOs: Hold Your Team Accountable for Data Analysis

5 Min Read
Three Ways HR Analytics Can Boost the Bottom Line
AnalyticsBusiness RulesCulture/LeadershipData WarehousingPolicy and Governance

Three Ways HR Analytics Can Boost the Bottom Line

5 Min Read
Online Business Model Innovation
Best PracticesBusiness IntelligenceBusiness RulesMarketing

Online Business Model Innovation

4 Min Read
How To Interact With Power BI Data In A PowerPoint Presentation
Business Intelligence

How To Interact With Power BI Data In A PowerPoint Presentation

8 Min Read

SmartData Collective is one of the largest & trusted community covering technical content about Big Data, BI, Cloud, Analytics, Artificial Intelligence, IoT & more.

5 Great Tips for Using Data Analytics for Website UX
5 Great Tips for Using Data Analytics for Website UX
Big Data
From Bolts to Bots: How AI Is Fortifying the Automotive Industry
From Bolts to Bots: How AI Is Fortifying the Automotive Industry
Artificial Intelligence

Quick Link

  • About
  • Contact
  • Privacy
Follow US
© 2008-26 SmartData Collective. All Rights Reserved.
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?