Nikita Makovei

Case III · Monolith first

The Lone Road

One engineer, one product, no time. I did not start with microservices, and I would not start with them today.

Where
Voiceform
When
2020 – 2021
Pattern
Monolith first

I · Departure

Alone at the first commit

Voiceform is a B2B SaaS for voice forms analysed by AI. I was its only engineer, from the first commit until the product reached the investment stage. I designed and built the platform from scratch: the backend, the AI pipeline with speech-to-text and sentiment analysis, dashboards for business clients, and form widgets.

The product is still live and growing, now with another team.

II · Initiation

Every border is a place to fail

A call inside one process almost never fails and takes almost no time. A call over the network can be slow, can time out, and can succeed without telling you. Split one request across many services and it inherits the bad day of each.

The arithmetic is simple and still surprising. If each service is slow for 1% of calls, a request that passes through seven of them meets a slow call almost 7% of the time.

Sandbox · Monolith first

A model, not production data

Press the steps from 1 to 4 and watch how many dots fall below the line.

III · Return

What it cost

One process cannot be scaled part by part, and one team cannot own part of it. For one engineer, neither is a problem. Services answer a question about teams, and I had no team.

Patterns in this case

What to call these things

Modular Monolith Architecture
One application, one deployment, with clear modules inside. The borders are in the code, not in the network. In the sandbox: the upper lane.
Microservices Architecture
Each part is deployed and scaled alone and can have its own team. Every call between parts becomes a network call. In the sandbox: the lower lane.
API Gateway Microservices
One entry point that takes a request and calls the services behind it. In the sandbox: the first box of the chain.
Timeout, Retry, Circuit Breaker Resilience
A slow call is cut short, a failed one is tried again, and a service that keeps failing is not called for a while. In the sandbox: step 4: the rings are requests answered with a fallback.
Strangler Fig Migration
A monolith is split one part at a time: new traffic goes to a new service while the old code keeps working. In the sandbox: not drawn; it is how the upper lane becomes the lower one, when a team needs it.