At AssessPrep, the monolith had served us well, but it was becoming harder to change as the product grew. A routine release involved the whole application, a bug in one area could affect others, and we kept more server capacity than individual parts of the system needed. I helped move the platform toward Kubernetes-based services and the delivery tooling around them.
The Problem We Were Solving
The goal was to let teams change and deploy parts of the product without coupling every release to the entire application. We also needed to scale the busy parts without scaling everything else with them. Moving code into separate services alone would not achieve either goal; deployment, infrastructure, and monitoring had to change with it.
What We Changed
- Service boundaries: We broke the application into smaller services that could be deployed and scaled independently.
- Repeatable delivery: We used CI/CD pipelines and Terraform to make application releases and infrastructure changes more repeatable.
- Operations: Kubernetes gave us a way to run and autoscale services separately. Monitoring helped us see how those services behaved after deployment.
This was a team migration, and the work extended beyond moving code. Service discovery, distributed tracing, and operating several deployable components added complexity that the monolith had not required.
What It Improved
Independent deployments made releases less coupled. Targeted scaling meant we could add capacity where demand was highest instead of expanding the whole application. Separating services also reduced the chance that a fault in one area would take down everything else.
The tradeoff was a more complicated system to operate. For us, the move made sense because the deployment and scaling constraints had become real problems. I would make the same decision based on those constraints, not on a general preference for microservices.