Questions tagged [rpc]

a remote procedure call (RPC) is a form of inter-process communication (IPC)

Resources

2527 questions
18
votes
3 answers

RPC with promises for node.js

Are there any RPC modules which work with promises? On the server I have functions which return promises. I would like to expose them for browser clients to call over websockts or fallbacks. I found some RPC libraries for example dnode, but they…
bara
  • 2,964
  • 2
  • 26
  • 24
17
votes
6 answers

GWT - RPC SerializationException

It's been a while since I've been doing GWT and I needed something small done quickly. I set things up and now I have a RPC I need, but it fails. The RPC is supposed to give me a ArrayList, and Vacancy is located in #projectname#.client.model. The…
Mark Tielemans
  • 1,528
  • 3
  • 20
  • 40
17
votes
1 answer

REST vs SOAP evolvability

I get the benefits of changing link uris, but that's really not what this question is about. What I mean by evolvability is adding new features to a service or modifying (when possible) existing ones and that's actually it. SOAP isn't that bad as…
Vitaly Stakhov
  • 514
  • 3
  • 15
17
votes
11 answers

Google Web Toolkit (GWT) + Google App Engine (GAE) + Detached Data Persistence

I would like to develop a web-app requiring data persistence using GWT and GAE. As I understand it, my only (or at least by far the most convenient) option for data persistence is GAE's Datastore, using JDO or JPA annotated objects. I would also…
Ryan
17
votes
1 answer

Golang RPC http.Serve vs rpc.ServeConn (HTTP vs raw connection)

The Go net/rpc library documentation enables exposing an object across a network, either via raw network connections or via HTTP. HTTP Example arith := new(Arith) rpc.Register(arith) rpc.HandleHTTP() l, e := net.Listen("tcp", ":1234") if e != nil { …
dgh
  • 8,969
  • 9
  • 38
  • 49
17
votes
2 answers

Registering a 32 bit DLL with 64 bit regsvr32

Considering the following Understanding A 32 bit Process cannot load a 64 bit dll or vice versa. For registering/unregistering a DLL regsvr32 calls the entry point DllRegisterServer / DllUnregisterServer after loading the target DLL into its…
Abhijit
  • 62,056
  • 18
  • 131
  • 204
16
votes
4 answers

Options for RPC in Mono? (WCF Alternatives)

I have had the opportunity to spend a great number of hours trying to use WCF in mono. It is simply too poorly implemented at this point to be put into a production environment, for anything beyond toy applications. It does not survive a 24/7…
John Hargrove
  • 701
  • 6
  • 23
16
votes
1 answer

Connection reset by peer while running Apache Spark Job

We have two HDP cluster's setup let's call them A and B. CLUSTER A NODES : It contains a total of 20 commodity machines. There are 20 data nodes. As namenode HA is configured, there is one active and one standby namenode. CLUSTER B NODES : It…
Aniketh Jain
  • 603
  • 7
  • 25
16
votes
5 answers

at-most-once and exactly-once

I am studying Distributed Systems and when it comes to the RPC part, I have heard about these two semantics (at-most-once and exactly-once). I understand that the at-most-once is used on databases for instances, when we don't want duplicate…
BrunoMCBraga
  • 652
  • 2
  • 7
  • 23
16
votes
1 answer

RPC from Windows to linux

Is there some (working) example how to create RPC from windows to linux? Client should be windows NT application, server is linux. It needs to be MSRPC. No Corba, no XML-RPC, SUN-RPC etc MSDN says this: RPC can be used in all client/server…
rkosegi
  • 14,165
  • 5
  • 50
  • 83
15
votes
3 answers

Using gRPC and/or GraphQL for microservice architecture

At my company we're about to set up a new microservice architecture, but we're still trying to decide which protocol would be best for our use case. In our case we have some services that are called internally by other services, but are also exposed…
Duncan Lukkenaer
  • 12,050
  • 13
  • 64
  • 97
15
votes
1 answer

Documentation tools for RPC APIs

There are a variety of good tools out there for source code and API documentation (doxygen, Headerdoc, Sphinx, to name but a few). However, none of them appear especially good at producing documentation for APIs that are provided via an RPC…
Nick Bastin
  • 30,415
  • 7
  • 59
  • 78
15
votes
3 answers

gwt - Using List in a RPC call?

I have a RPC service with the following method: public List myMethod(TransactionCall call) {...} But I get a warning when this method is analyzed, and then the rpc call fails Analyzing 'my.project.package.myService' for…
Garagos
  • 588
  • 1
  • 4
  • 16
15
votes
3 answers

Protocols for communicating over web sockets

I'm working on the client-side of a project with a large and complex server-side component. The client will be deployed as an mobile app among other contexts. For client-server communication, there are two opposing views: Use REST Use web…
Oliver Moran
  • 5,137
  • 4
  • 31
  • 45
14
votes
3 answers

What's the difference between call by reference and copy/restore

What's the difference in the outcome between call by reference and copy/restore? Background: I'm currently studying distributed systems. Concerning the passing of reference parameters for remote procedure calls, the book states that: "the call by…
mort
  • 12,988
  • 14
  • 52
  • 97