Hacker News new | ask | show | jobs
by Twey 28 days 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.
1 comments

Feasible with in-process REST.

https://news.ycombinator.com/item?id=48731266

I 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.)

> 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.

I 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).