天天看点

RPC和IPC有区别吗?

RPC:

Remote procedure call (RPC) is an

Inter-process communication technology

that allows a computer program to

cause a subroutine or procedure to

execute in another address space

(commonly on another computer on a

shared network) without the programmer

explicitly coding the details for this

remote interaction.

IPC:

Inter-process communication (IPC) is a

set of techniques for the exchange of

data among multiple threads in one or

more processes. Processes may be

running on one or more computers

connected by a network.

所以,RPC只是一种IPC。