2 ms·
I agree with your first point, but I find microservices (which almost always means JSON in practice) tend to lead to less well designed interfaces than monolith
by lmm 10y ago
I agree with your first point, but I find microservices (which almost always means JSON in practice) tend to lead to less well designed interfaces than monoliths in a well-typed (i.e. ML-family) language.
- lrem 10y agoSo, should we all root for grpc or an equivalent? Edit: grammar.
- lmm 10y agoI use Thrift when my systems have to be distributed, but it and GRPC's type systems are still a long way behind what you can do in Haskell/Scala/Idris. So I still say build your system to be deployed monolithically at first (of course split it up into modules and libraries), and move to distributed only when it becomes too large to deploy monolithically (or rather, when you have so many developers that you can't deploy a monolith frequently enough).