Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



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


If 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?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: