Articles → ASP .NET WEB API → Difference Between RPC And Restful Services
Difference Between RPC And Restful Services
RPC
- RPC is a process of calling the method of another process i.e. RPC is used for inter-process communication.
- RPC makes use of proxy i.e. a set of services sits between caller and the server. Whenever caller requests any service, proxy sends that request to the server and get the output. Caller is getting an impression that service is accessed locally.
REST
- In REST services, each component (functionality) in the service is considered as the resource and can be accessed using URI.
- All communication between client and server is stateless.