3 ms·
Taken to an extreme. It's not feasible with current microservice architecture to, for example, represent every Boolean in the program as a service.
by Twey 3mo ago
Taken to an extreme. It's not feasible with current microservice architecture to, for example, represent every Boolean in the program as a service.
- mpweiher 3mo agoFeasible with in-process REST. https://news.ycombinator.com/item?id=48731266 https://news.ycombinator.com/item?id=48731266
- Twey 3mo agoI did not know that was something people had done! Thanks for the pointer! If I were to quibble, though: in-process implies exactly the absence of the isolation guarantees that OOP!Kay and microservices share. (The overhead on a Boolean also makes my inner Mel Kaye burst into tears, but that's neither here nor there in this discussion I suppose.)
- mpweiher 3mo ago> Thanks for the pointer! You're welcome! > in-process implies exactly the absence of the isolation guarantees that OOP!Kay and microservices share. OOP objects are in-process and are isolated using language mechanisms rather than machine/process boundaries.
- Twey 3mo agoI think that arguably an (active) object à la Kay is itself a process — it doesn't have shared memory with the rest of the program (regardless of how that's achieved).