Managed database or run it myself

Back to list2026-04-09
You

Managed database or run it myself?

ChatGPT

The comparison that matters is not price per month:

ManagedSelf-hosted
Cost at 100 GBhigherlower
Backupsincluded, testedyour job
Failoverminutesyour job
3am pagertheirsyours

Self-hosting wins on invoice and loses on the hours you cannot schedule. Below one full-time operator, managed is usually cheaper in the currency that runs out first.

You

Is a monorepo worth it for four services?

ChatGPT

At four services the deciding factor is how often changes cross a boundary:

MonorepoMulti-repo
Cross-cutting changeone PRcoordinated PRs
CI complexityneeds filteringsimple per repo
Access controlcoarseper repo

If most changes touch one service, separate repos stay simpler. If a typical feature touches three, the coordination cost outweighs everything else.

You

Which protocol for service to service calls?

ChatGPT

gRPC when the callers are yours and latency matters, REST when they are not:

REST/JSONgRPC
Debuggable with curlyesawkward
Schema enforcedoptionalalways
Streamingclumsynative
Browser supportdirectneeds a proxy

The schema is the real difference: with JSON the contract lives in documentation, with protobuf it lives in a file that breaks the build when violated.

You

How long does this usually take in practice?

ChatGPT

An afternoon to do it properly the first time, then minutes when it recurs. Most of the first afternoon goes into discovering which of the defaults do not match your situation.