3 ms·
Can't we just isolate these two services in containers, using different library versions? They don't need to be microservices in order to isolate dependencies,
by rmbyrro 3y ago
Can't we just isolate these two services in containers, using different library versions?
They don't need to be microservices in order to isolate dependencies, do they?
In Python, for instance, you don't even need containers. Just different virtual environments running on separate processes.
- mjr00 3y agoIf you have two separate processes running in two separate containers... those are two separate services. You need to solve the same problems that would come with running them on two different EC2 instances: what's the method for communicating with the other container? What happens if the other container I'm calling is down? If the other container is down or slow to respond to my API calls, am I dealing with backpressure gracefully or will the system start to experiencing a cascade of failures?
- jethro_tell 3y agoI suppose if you do that, they will communicate over the network likely via api and have the ability to scale independently. You just invented microservices, lol.