I just read about the rpc http://www.grpc.io/ remote procedure, with the other hand we have webservicewhere the client sends the request to the server and server.
rpc
webservice
The same thing happens with rpcwhere it stubcalls a method that resides on the server. I think the same thing can be realized with webservice.
stub
What rpccan make a difference and where is it better to use?
Webservices help reduce grip. You should prefer this. RPC limits you to a particular programming language. When you use web services, you can have different languages and even different operating systems that can exchange information. When you think about connecting server types of devices, you should use a web service, but when you create a distributed application with several modules, perhaps RPCs are more suitable.
RPC is a protocol that one program can use to request a service from a program located on another computer on the network, without the need to understand the details of the network. A procedure call is also sometimes called a function call or a subroutine call.
" ". RPC, Soap WS, REST, RMI - , , , , . (grpc) RPC "Remote Procedure Call", .
, , , RMI, Java, , , Java- ( ). SOAP / XML, -. JSON HTTP, REST . , grpc .
RMI
SOAP
XML
JSON
HTTP
REST
grpc
, , - SOAP, , .
rpc ?
, , , .
gRPC-Web: REST + JSON - API :
"
, , , , .
- REST . .
1 , , .
2 , , .
3 , .
, rpc , , HTTP . backend-to-backend, . , gRPC, /.
In all other cases, is HTTP-like communication still the standard for most use cases in 2017?
Source: https://habr.com/ru/post/1675875/More articles:Файл загрузки Sails.js - Не удается получить файл на req.file() - node.jsТекстура VTK (Activiz 5.8.0), влияющая на непрозрачность - c#How to call a method every 2 weeks in PHP without crontab - phphttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1675873/explode-string-on-commas-and-pipes-to-create-two-arrays&usg=ALkJrhhzoyQZXz-yAQrWbehr8zfhL256xgHow to take the first 5 lines as a group without replacing in another value of the variable - rNULL pointer increment in C - cПерекомпоновка подстроки подсчитывает обновление после замены его на "X" - pythonOpen dialog box after clicking RecyclerView? - androidXamarin CarouselView с использованием списка - c#Python3.6 ImportError: unable to import name 'main' Linux RHEL6 - pythonAll Articles