4 ms·
Microservices are just another "cache" level in the end. They can make sense in the right situations, but you need to make your architecture deliberate in order
by kstenerud 2mo ago
Microservices are just another "cache" level in the end. They can make sense in the right situations, but you need to make your architecture deliberate in order to reap its advantages. Idempotent services are an easy win, and also places where you have data locality (similar to cache locality, just a few levels lower).
At the end of the day, it comes down to:
- how far does the data have to travel, and at what cost?
- how much latency can your process tolerate?
- how much unreliability can your process tolerate?
- where and how do you isolate resources that are concurrency sensitive?
- what's the infrastructure going to cost?