Incentive Center Order Lifecycle Sequence
About This Architecture
Event-driven reward calculation lifecycle orchestrating eight sequential phases from upstream order events through settlement, leveraging MQ Consumer, Rule Engine, and distributed locking for consistency. Upstream events (OrderInstall, AfterSale, ShopReceive, TransferProperty) flow through MQ into RewardMatchService, which applies 15 eligibility rules via EasyRules before generating flow records across order, product, and attendance strategies. RewardOrderFlow Service, IndicatorProgress AggregateService, and RewardProgress Service process flow-to-detail transformations with gameplay forks for CHALLENGE and PK_RANKING activities, using Redis/MySQL/HBase for state persistence and distributed locks to prevent race conditions. This architecture demonstrates how to build scalable, rule-driven incentive systems that handle forward and reverse flows while maintaining data consistency across microservices. Fork this diagram on Diagrams.so to customize rule sets, add new event types, or adapt the settlement strategy for your reward platform.
People also ask
How do you design a scalable event-driven reward and incentive system on AWS that handles order events, applies eligibility rules, and settles rewards consistently?
This diagram shows an 8-phase architecture where upstream order events (OrderInstall, AfterSale, ShopReceive, TransferProperty) enter via MQ, pass through a Rule Engine with 15 eligibility checks, generate flow records across multiple strategies, and progress through indicator aggregation to final settlement. Distributed locks prevent race conditions, while Redis/MySQL/HBase persist state across R
- Domain:
- Cloud Aws
- Audience:
- AWS solutions architects designing event-driven reward and incentive systems
Generated by Diagrams.so — AI architecture diagram generator with native Draw.io output. Fork this diagram, remix it, or download as .drawio, PNG, or SVG.