Websites and web tools
Microservices: what nobody tells you
Microservices split an application into small services that talk over the network. The pitch focuses on independent scaling and deploys. This page covers the costs that get less attention, with a worked uptime example, so the owner of a small booking or inventory app can decide with clear eyes.
Every call can now fail
Inside one program, calling a function either works or throws. Across the network, a call can be slow, time out, succeed without you hearing back, or arrive twice. Every service therefore needs timeouts, retries with backoff, and handlers that cope with duplicate requests.
Uptime multiplies down
Caching, fallbacks and asynchronous queues can soften this, but each adds more moving parts.
Your data is now split
Each service should own its data. That means no simple database transaction covers creating a booking, reserving a bay and charging a deposit. You need patterns such as sagas or outbox tables, and you must accept that data will briefly disagree between services.
Debugging needs new tools
- Distributed tracing to follow one request across services.
- A shared request id in every log line.
- Central log collection, since there are now many log streams.
- Dashboards per service for latency, errors and traffic.
The overhead is mostly people time
| Task | Monolith | Microservices |
|---|---|---|
| Deploy | One pipeline | One per service, plus coordination |
| Local development | Run one app | Run many, or mock them |
| Version changes | Change and refactor in one place | Keep APIs compatible between services |
| Security | One boundary | Service-to-service auth everywhere |
| Testing | In-process tests | Plus contract and integration tests |
When microservices make sense
- Several teams need to release on their own schedules.
- One part has very different scaling or reliability needs from the rest.
- Clear business boundaries already exist and rarely change.
Questions to ask before you split
- Which part of the app actually needs to scale or deploy on its own, and can you name it?
- Who will be on call when a service-to-service call fails at night?
- How will you run the whole system on one laptop for development?
- What happens to a booking if the payment service is down for ten minutes?
- Do you have tracing and central logs in place before the first split, not after?
If most answers are vague, the split will add work without solving a problem you have today.
A middle path
A modular monolith keeps one deployable app but enforces clear module boundaries inside it: scheduling, invoicing, inventory. If one module later needs to stand alone, its boundary is already drawn. For a shop, detailer or small dealer app with one developer or a small team, this is usually the better starting point.