Many years ago , in Teddy’s hometown there was a man who was called “Bone Collector”. This man like to collect varies of bones , such as dog’s , cow’s , also he went to the grave … The bone collector had a big bag with a volume of V ,and along his tr…
RPC全称是Remote Procedure Call,即远程过程调用,其对应的是我们的本地调用。
RPC的目的是:让我们调用远程方法像调用本地方法一样。
//本地调用
R result orderService.findOrderByUserId(id);
//RPC远程调用 orderService为代理对象
R …