chaitanya.akula
All projects

Pricing Engine

Scalable pricing architecture supporting merchant and bank pricing requirements.

GolangPostgreSQLRedisSystem Design

Problem

Support constantly evolving pricing rules across merchants, products, and banking partners without redeploying services for every change.

Architecture

A configuration-driven pricing service that resolves the applicable price from layered rules (product, merchant, partner, promotion) with deterministic precedence.

Technical challenges

Keeping pricing correct and auditable as rules multiply, and computing prices fast enough to sit inline with transactions.

Solution

A declarative rule model with explicit precedence, cached resolution paths, and a full audit trail of which rule produced each price.

Scale

Serves pricing decisions inline with transaction processing.

Lessons learned

Making pricing declarative and auditable turned a source of bugs into a self-service capability for the business.

Want to talk through the engineering behind systems like this?

Start a conversation