|
|
|
|
|
by to3m
3265 days ago
|
|
> Behind that interface, replace it with network calls that fulfill the interface's contracts Just like that?! You can encapsulate work fine, without making microservices at all easy to retrofit. There's a big difference between calling a function that does something and returns a result, and calling a function that does nothing until you've gone back to the main loop to handle network input. (You can confront many of these issues by implementing your services as threads from day 1. Decoupling request and response is a major issue, and this will force you to do that straight away. The other issues associated with moving from single process to multiple processes are fairly minor by comparison.) |
|
the difference is latency, so of course you put extreme low-latency operations inside the same service.