4 ms·
Kind of a weird take. Microservices are (or at least should be) more about encapsulation of data than encapsulation of code or compute.
by vrosas 2y ago
Kind of a weird take. Microservices are (or at least should be) more about encapsulation of data than encapsulation of code or compute.
- IshKebab 2y agoI don't think that distinction matters. Libraries can easily encapsulate data. I think he's right - microservices are very often used in situations where a library is clearly the right tool for the job. In my experience the main reasons people don't use libraries are: a) the people in charge of the place where you should put the library are too territorial, so it becomes easier overall to start an entirely new project and deal with the very large downsides of microservices, and b) they want to use a different language, and disappointingly FFI over HTTP is usually easier than "true" FFI.