a remote procedure call (RPC) is a form of inter-process communication (IPC)
Questions tagged [rpc]
2527 questions
701
votes
13 answers
What is the difference between Serialization and Marshaling?
I know that in terms of several distributed techniques (such as RPC), the term "Marshaling" is used but don't understand how it differs from Serialization. Aren't they both transforming objects into series of bits?
Related:
What is…

Peter
- 47,963
- 46
- 132
- 181
280
votes
15 answers
REST vs JSON-RPC?
I'm trying to chose between REST and JSON-RPC for developing an API for a web application. How do they compare?
Update 2015: I have found REST easier to develop and use for an API which is served on Web/HTTP, because the existing and mature HTTP…

Ali Shakiba
- 20,549
- 18
- 61
- 88
227
votes
11 answers
Web service differences between REST and RPC
I have a web service that accepts JSON parameters and have specific URLs for methods, e.g.:
http://IP:PORT/API/getAllData?p={JSON}
This is definitely not REST as it is not stateless. It takes cookies into account and has its own session.
Is it…

Mazmart
- 2,703
- 4
- 17
- 20
175
votes
8 answers
What is the difference between Java RMI and RPC?
What is the actual difference between Java RMI and RPC?
I have read in some places that RMI uses Objects?

Aran
- 3,298
- 6
- 32
- 33
143
votes
7 answers
Git fails when pushing commit to github
I cloned a git repo that I have hosted on github to my laptop. I was able to successfully push a couple of commits to github without problem. However, now I get the following error:
Compressing objects: 100% (792/792), done.
error: RPC failed;…

Stephen Melvin
- 3,696
- 2
- 27
- 40
140
votes
8 answers
What is the current choice for doing RPC in Python?
Actually, I've done some work with Pyro and RPyC, but there is more RPC implementation than these two. Can we make a list of them?
Native Python-based protocols:
PyRo4 (Python Remote Objects)
RPyC (Remote Python Call)
Circuits
RPC frameworks with…

edomaur
- 1,397
- 4
- 23
- 38
134
votes
2 answers
What is the difference between grpc and websocket? Which one is more suitable for bidirectional streaming connection?
I want to develop a client-server application in a bi-directional streaming manner.
what is more suitable technology for this, grpc or websocket?

prashant sindhu
- 1,769
- 2
- 15
- 25
114
votes
1 answer
What is RPC framework and Apache Thrift?
I need to learn Apache Thrift for a University project. As this tutorial says, it is an RPC framework, and it was the only document I could find for Thrift other than their documentation.
Can someone tell me what is a RPC framework and how does this…

bula
- 8,719
- 5
- 27
- 44
103
votes
6 answers
What is the difference between Document style and RPC style communication?
Can somebody explain to me the differences between Document and RPC style webservices? Apart from JAX-RPC, the next version is JAX-WS, which supports both Document and RPC styles. I also understand document style webservices are meant for…

Amrin
- 1,495
- 6
- 14
- 14
87
votes
4 answers
What is the difference between remote procedure call and web service?
Is there any clear definition of RPC and Web Service? A quick wikipedia search shows:
RPC: Remote procedure call (RPC) is an
Inter-process communication technology
that allows a computer program to
cause a subroutine or procedure to
execute…

xiao 啸
- 6,350
- 9
- 40
- 51
85
votes
1 answer
How to return an array in Protobuf service rpc
I have the following schema in my .proto file:
service MyService {
rpc GetItem (ItemQuery) returns (Item) {
}
}
message ItemQuery {
int id = 1;
}
message Item {
int id = 1;
string name = 2;
}
Now I want to add another rpc…

Shoham
- 7,014
- 8
- 40
- 40
67
votes
7 answers
61
votes
7 answers
Using Python from within Java
Possible Duplicate:
Java Python Integration
I have a large existing codebase written in 100% Java, but I would like to use Python for some new sections of it. I need to do some text and language processing, and I'd much rather use Python and a…

Liam
- 788
- 1
- 6
- 9
59
votes
12 answers
any good and simple RPC library for inter-process calls?
I need to send a (probably one) simple one-way command from client processes to server process with arguments of builtin C++ types (so serialization is pretty simple). C++, Windows XP+.
I'm looking for a library that doesn't require complicated…

Andriy Tylychko
- 15,967
- 6
- 64
- 112
48
votes
8 answers
Examples of the best SOAP/REST/RPC web APIs? And why do you like them? And what's wrong with them?
At my company we're starting to branch into web APIs to access and update our data; initially for partners but then likely to the public in future. At the moment the way the API will look (e.g. SOAP, REST, RPC) is completely open and we haven't made…

Greg Beech
- 133,383
- 43
- 204
- 250