Overview
A regulated lottery operator needed to move its core platform off a legacy monolith and onto a cloud-native architecture on Oracle Cloud. The platform had to stay live for thousands of concurrent users throughout, with no tolerance for interruption.
Challenge
The existing system was a tightly coupled Java monolith that handled ticket sales, payments, validation of winning tickets, and integration with government audit systems. Every application managed its own authentication; there was no central identity layer.
Every step of the migration had to stay backward compatible. Performance requirements were strict too: client applications depended on low-latency confirmation of each transaction.
Solution
- Domain-aligned services on Kubernetes. The platform was split into microservices on Oracle Cloud Kubernetes, each deployed on its own schedule with no shared release train.
- Kafka as the backbone. Every state-changing operation (sales, payments, winning validation) became an event on Apache Kafka, which gave full auditability and the ability to replay.
- Camunda for long workflows. Multi-step processes such as product approval cycles and contest lifecycles were orchestrated in Camunda.
- One identity provider. A central Identity Provider replaced the per-application logins; every service delegates authentication to a single trusted issuer.
- Parallel run. New services handled traffic alongside the monolith until they met agreed confidence thresholds, with no downtime at any point.
- Performance tuning. Redis caching and asynchronous processing met the latency requirements of client integrations.
- Observability. Prometheus for metrics, Dynatrace for distributed tracing and production alerting.
Outcome
- 3–4× lower transaction latency, from service decomposition, async processing and targeted caching.
- 99% SLA held for the whole migration.
- Independent deployments. Teams release individual services without coordinating a monolithic release.
- Zero downtime from start to finish.