Tagged articles

discount

3 articles · Page 1 of 1
samdeepthink
samdeepthink
May 15, 2026 · Backend Development

Designing a Marketing PMS: Activity Model, Rule Engine, Conflict Handling, and Allocation Mechanisms

The article explains the core responsibilities and three‑layer architecture of a marketing PMS, details the activity‑template model, walks through the rule‑engine execution flow with container‑component and needNum logic, compares self‑built and Drools solutions, and describes mutual‑exclusion, stacking, allocation strategies, and the three‑stage cal/use/rollback workflow with caching and consistency safeguards.

allocationbackenddiscount
0 likes · 24 min read
Designing a Marketing PMS: Activity Model, Rule Engine, Conflict Handling, and Allocation Mechanisms
macrozheng
macrozheng
Jan 13, 2025 · Backend Development

Implement Dynamic Discount Rules in Spring Boot with Drools

This guide shows how to integrate the Drools rule engine into a Spring Boot application to calculate e‑commerce discounts dynamically, covering Maven dependencies, configuration, model definitions, DRL rule creation, service and controller layers, and a simple test scenario demonstrating rule‑driven discount computation.

Droolsbackenddiscount
0 likes · 11 min read
Implement Dynamic Discount Rules in Spring Boot with Drools
dbaplus Community
dbaplus Community
May 9, 2023 · Backend Development

How to Build a Scalable Discount System with Real‑Time Crowd Sync

This article explains a three‑step architecture for describing, storing, and calculating fan‑based discounts, introduces a crowd‑based abstraction to accelerate high‑traffic queries, and details a hybrid offline‑plus‑real‑time data‑sync strategy that ensures consistency and millisecond‑level response times.

Redisbackendcrowd-abstraction
0 likes · 10 min read
How to Build a Scalable Discount System with Real‑Time Crowd Sync