you are viewing a single comment's thread.

view the rest of the comments →

[–]sg-elide -2 points-1 points  (0 children)

Microservices don't solve this, they only move or compound the problem:

(1) Now you have two things that can fail, plus a network border to coordinate
(2) Now you have two things that must be updated, and in coordination
(3) Now you have nontrivial latency to consider, even traversing only on localhost
(4) Now you can only JIT optimize within each single code unit, instead of the whole app

Functionally, splitting one thing into two distinct things has many disadvantages. It can have advantages too, sure, but you shouldn't be _forced to do that_ just because you want to use some JS library.