Journal Entry · 2026.09.04 1 min read
← All journal entries

1 min read

The cost of splitting an app into services

I compare one deployable application with separate services that need network calls, retries, and monitoring.

Large engineering orgs use microservices so hundreds of developers can deploy without blocking each other. Small teams often copy that split before they have the headcount to support it.

Splitting a small product into services adds distributed-systems overhead with little gain:

  1. Network latency: In-process function calls in nanoseconds become HTTP or gRPC calls across sockets in milliseconds.
  2. Partial failures: One atomic database transaction turns into two-phase commits, saga coordinators, and retry queues.
  3. Operational load: You trade one deployable app for container registries, service meshes, distributed traces, and split logs.

The Modular Monolith

A modular monolith in Django or Go separates domains through apps and packages without network boundaries:

  • You keep atomic database transactions.
  • You catch cross-module breakages in unit tests in seconds.
  • You ship one Docker image or binary per release.

Start with a monolith. If one module needs independent hardware later, clear internal boundaries let you extract it with less risk.

Mark Ocampos
Independent web engineer
Have a project in mind?
Send me a message.