Scrivio Interview library
ScenarioIntermediate6 min read · updated 12 November 2026

A start-up with 6 engineers plans to build its first product as 12 microservices on Kubernetes. As a senior engineer, what would you advise?

I would advise against starting with twelve microservices. Microservices add real costs in deployment, monitoring, distributed debugging and data consistency, and with six engineers and a domain that is still being discovered, a modular monolith is usually faster to build and safer to change. We give it clear module boundaries, for example checked with Spring Modulith, so services can be extracted later, and we extract one only for a concrete reason such as independent scaling, team ownership or a different release cadence, revisiting the decision as the team and product grow.

Why this question is asked

Start-ups often choose microservices because large companies use them, or because the founders want the system to be ready for scale. The irony is that microservices solve problems of large organisations, many teams that need to work independently, and create problems that small teams feel most. Interviewers ask this scenario to see whether a senior engineer can give honest, practical advice rather than follow fashion. In this answer, we will count what twelve services would cost six engineers, explain why a modular monolith fits better, show how to keep the option of services open, and decide when a service should actually be extracted.

1What Twelve Services Would Cost Six Engineers

Each microservice is a small product to run. It needs its own build pipeline, container image, Kubernetes deployment, configuration, secrets, health checks, dashboards and alerts. It needs dependency upgrades when Spring Boot or the JDK ships security fixes. With twelve services and six engineers, every engineer is responsible for two services in production before writing a single feature.

Then come the distributed-system costs. A user action that touches four services needs distributed tracing to debug. Data that used to be one transaction now needs sagas, outbox tables and idempotent consumers. Changing an API between two services requires versioning and coordinated deployment. Kubernetes itself needs someone who understands it well. None of these costs buys anything for the customer, and in a start-up the scarcest resource is engineering time spent on the product.

Twelve services versus a modular monolith for six engineers
Concern12 microservicesModular monolith
Pipelines and deployments12 to build and keep working1
A change across two areasTwo deploys, API versioningOne commit, one deploy
Debugging a requestDistributed tracing neededOne log and stack trace
Data consistencySagas, outbox, eventualLocal ACID transactions
Moving a boundary laterData migration between servicesMove code between packages
Scaling one hot partIndependentScale the whole app, or extract it

2Why the Domain Being Unclear Matters Most

A start-up's product changes shape every few months as it learns what customers want. A feature that seemed central becomes minor; two concepts that seemed separate turn out to be the same thing. Service boundaries drawn now will be wrong in places, and that is not a failure of design, just the nature of discovery.

In a monolith, a wrong boundary costs a refactoring: move some classes, rename a package, run the tests. Between services, a wrong boundary costs an API redesign, a data migration and coordinated deployments. So the cost of being wrong, which is high in a start-up, is much lower with a monolith. This is the strongest argument in the whole discussion.

3A Modular Monolith That Keeps Options Open

The alternative is not an unstructured monolith. It is a modular monolith: one deployable Spring Boot application, organised into modules that follow business capabilities, such as accounts, catalogue, orders and billing. Each module has a small public API and keeps everything else internal, owns its own tables, and talks to other modules through that API or through in-process events.

Spring Modulith can check these rules. It treats each direct sub-package of the main application package as a module and fails a test when one module reaches into another's internals. It also supports publishing application events between modules and recording them so that they are not lost.

Java
// com.acme.orders is a module; only its top-level types are public API
@Service
public class OrderService {
private final OrderRepository repository;
private final ApplicationEventPublisher events;
@Transactional
public void place(Order o) {
repository.save(o);
events.publishEvent(new OrderPlaced(o.id())); // billing reacts, no direct call
}
}
@Test
void verifyModules() {
ApplicationModules.of(AcmeApplication.class).verify(); // fails on a boundary violation
}

Because modules already communicate through narrow APIs and events, extracting one later is mostly a matter of putting a network between them, rather than untangling code. That gives the start-up the main future benefit it wanted from microservices at a fraction of the cost today.

4When to Extract a Service

We extract a module into its own service only when there is a concrete reason that the monolith cannot meet. Independent scaling: an image-processing module needs ten times the CPU of everything else and slows the rest during peaks. Team ownership: the company has grown to four teams, and one team's module is now changed only by them. A different release cadence: a partner integration must be deployed several times a day while the core is released weekly. Or a different technology: a part that needs Python for machine learning.

Each extraction is a deliberate decision, made when the reason appears, with the module boundary already in place. Until then, one deployable is simply the cheaper choice.

Step throughShould this module become a service?
  1. Needs independent scaling?
    YesExtract this moduleNoCheck the next reason
  2. Owned by a separate team?
    YesExtract this moduleNoCheck the next reason
  3. Needs its own release cadence or tech?
    YesExtract this moduleNoKeep it in the monolith
  4. Revisit as the company growsfor example every six months

4 steps in order. Play them, or step through them one at a time.

5Giving the Advice Well

Advice like this lands better as a plan than as a refusal. I would show the founders the cost estimate in engineering weeks, explain that the modular monolith keeps the path to services open, and agree on the triggers that would justify the first extraction. I would also agree to revisit the decision regularly, perhaps every six months or when the team doubles, so nobody feels the door has been closed.

If there is a part that clearly has different needs from day one, such as a heavy data pipeline, it can be separate from the start. The goal is not zero services; it is no service without a reason.

6Follow-up questions

Won't a monolith be hard to scale if the product succeeds?

A well-built Spring Boot application scales horizontally by running more instances behind a load balancer, which carries most products a long way. The parts that need special scaling can be extracted when that need shows up, and the module boundaries make that extraction a planned project rather than a rewrite.

Should the start-up still use Kubernetes?

Only if someone on the team knows it well or a managed platform makes it nearly invisible. For one application and a database, a managed container service or platform-as-a-service is often simpler and cheaper. The choice of runtime should follow the architecture, not the other way round.

What does a modular monolith need in order to stay modular?

Automated boundary checks in the build, such as Spring Modulith or ArchUnit tests, module ownership of tables, and code review attention to cross-module calls. Without these checks, deadlines slowly erode the boundaries and the monolith becomes tangled.

7Conclusion

In this answer, we saw that twelve microservices would load six engineers with deployment, monitoring, debugging and consistency work that does not help customers, while an unclear domain makes wrong boundaries likely and expensive to fix across services. A modular monolith with enforced module boundaries, for example with Spring Modulith, is faster and safer now and keeps extraction possible later, and we extract a service only for a concrete reason such as independent scaling, team ownership or a different release cadence, revisiting the decision as the company grows.

What to say in the interviewAbout 80 seconds aloud

Open with

I would advise them not to start with twelve microservices. Each service is a small product to run: a pipeline, a deployment, dashboards, alerts and upgrades, so six engineers would spend a big share of their time on operations.

Then, if they want more

On top of that come distributed debugging, sagas instead of transactions and API versioning between services. Most importantly, a start-up's domain is still being discovered, so some boundaries will be wrong, and moving a boundary between services means API changes and data migration, while in a monolith it is a refactoring.

So I would recommend a modular monolith: one Spring Boot application split into modules by business capability, each with a small public API, its own tables, and communication through APIs or in-process events. I would enforce the boundaries with Spring Modulith's verification test or ArchUnit, so they do not erode.

That keeps the option of extracting services later at low cost. I would agree with the founders on concrete triggers for extraction: a module that needs independent scaling, a separate team that owns it, a different release cadence or technology.

And I would revisit the decision every six months or whenever the team grows significantly, so it is a plan, not a refusal.

About this answer

Last updated
12 November 2026
Checked
Its structure and format are checked automatically. Use it as a carefully prepared study note: where a detail matters, confirm it against the documentation below. What the checks cover
Where the question comes from
Written by Scrivio for practice. It is not taken from an interview.
Report an issue with this answer

Copy the line below and send it to the author with what you found. It carries the address of this page.

Issue with "A start-up with 6 engineers plans to build its first product as 12 microservices on...": https://scrivio-interview-library.netlify.app/spring-boot/microservice-design/e481dcca04/