4 ms·
> They force you to not share memory on a single system, they encourage you to focus on how you communicate, they give you scale and failure isolation, for forc
by amelius 6y ago
> They force you to not share memory on a single system, they encourage you to focus on how you communicate, they give you scale and failure isolation, for force you to handle the fact that a called subroutine might fail because it's across a network.
The problem: distributed systems are hard to get right. Better stay away from them unless you really need them, AND you have the time/resources to implement them correctly. The benefits of microservices are a bad excuse, most of the time.
- anyfoo 6y agoExactly, distributed systems are hard. Very hard. It's an entire field of study. Don't opt for something very, very hard unless you have to.
- tonyarkles 6y agoHeh, I have a masters degree focused on distributed systems. My thesis was about tracing and debugging in microservice-style systems. I generally write monoliths, on purpose. The massive overheads and debugging nightmares are not worth it most of the time. Global state still gets pushed out into backend services (redis, postgres) and I can still scale horizontally all day, but there’s no crazy chain of backend interservice HTTP requests to cause no end of chaos :)
- harpratap 6y agoDo you mind if you can link me to your thesis? I am actually looking into tracing systems right now.
- tonyarkles 6y agoHonestly, you're probably better off looking at https://opentracing.io/ https://opentracing.io/. For a bit of context, I started working on my thesis in 2009 when there weren't many commercial tools available for doing this kind of tracing; by time I was done, there were a ton of open source and commercial tools available. Thesis is here: https://harvest.usask.ca/handle/10388/ETD-2015-06-2185 https://harvest.usask.ca/handle/10388/ETD-2015-06-2185