Cashback Microservice
A microservice built from scratch to generate cashback for customers' spending, later optimized through database and code improvements.
The problem
A new microservice built to calculate and issue cashback based on customers’ spending patterns, deployed as part of Warba Bank’s Kubernetes-based service architecture.
System design
Kafka handles the event stream feeding spending data into the service, while SQL Server and Redis split the load between durable storage and fast reads.
Optimization and modernization
After the initial build, database tuning and code optimization improved service performance. The work also included refactoring four adjacent services to meet updated architecture standards during a technology upgrade.
Designed and built the service from scratch, then improved its performance through database enhancements and code-level optimization. Also refactored four adjacent services to meet updated architecture standards during a technology upgrade.