5 ms·
you're free to replace one by a facade around a remote service. RPC rarely lives up to this promise. Starting simple is certainly a good approach, but don't fo
by nix 14y ago
you're free to replace one by a facade around a remote service.
RPC rarely lives up to this promise. Starting simple is certainly a good approach, but don't fool yourself about how hard it's going to be when you need to deal with latency and partial failure later.
- btilly 14y agoTrust me, I'm fully aware of all of the trouble with getting RPCs to work properly. I still think that it is easier to do that work after you have the original non-rpc version as a reference.
- aaronblohowiak 14y agoYes, but making those module boundaries loosely coupled and sharing information only through their interfaces will go a LONG way towards enabling you to remote the call at a later date. The biggest mistakes that prevent remoting a module have to do with requiring context that is not part of the interface of the method call (or having a very chatty back-and-forth, but that is less common.)