3 ms·
> a single syntax error breaks everything How are microservices usually communicating that avoids this problem?
by Kiro 12y ago
> a single syntax error breaks everything
How are microservices usually communicating that avoids this problem?
- ExpiredLink 12y agousually via HTTP
- macNchz 12y agoIn my experience this just results in the service with a 'single syntax error' dumping stack traces while the services that talk to it throw exceptions as their HTTP requests get 500 responses. Noisy.
- possibilistic 12y agoRPC is much better suited for a microservice architecture. Leave HTTP for the leaves. (I wrote a comment about it elsewhere in this discussion).
- ExpiredLink 12y agoRPC is a low level API for which you have to set up and implement many parts that HTTP delivers out of the box. RPC probably not even has a significant performance advantage.