Questions tagged [rpc]

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

Resources

2527 questions
22
votes
6 answers

Interface Builder and Xcode integration not working

After having installed the iPhone SDK 3.1.2, Interface Builder is not in sync with Xcode anymore. The light indicator at the bottom of the XIB window is grey. IB doesn't see any files from the Xcode project. Xcode is always open when I start…
Martin Cote
  • 28,864
  • 15
  • 75
  • 99
22
votes
1 answer

RPC semantics what exactly is the purpose

I was going through the rpc semantics, at-least-once and at-most-once semantics, how does they work? Couldn't understand the concept of their implementation.
Pravin Agre
  • 373
  • 2
  • 5
  • 17
22
votes
8 answers

Error on trying to run a simple RPC program

I am trying to run a simple RPC program which I have created using rpcgen. Its a simple factorial program. This is my first RPC program. The make works fine.Executables are also created. But when trying to run the executables, I get this error:…
arkiver
  • 465
  • 1
  • 5
  • 11
21
votes
5 answers

Pyspark: Serialized task exceeds max allowed. Consider increasing spark.rpc.message.maxSize or using broadcast variables for large values

I'm doing calculations on a cluster and at the end when I ask summary statistics on my Spark dataframe with df.describe().show() I get an error: Serialized task 15:0 was 137500581 bytes, which exceeds max allowed: spark.rpc.message.maxSize…
Wendy De Wit
  • 293
  • 2
  • 3
  • 6
21
votes
10 answers

SerializationPolicy error when performing RPC from within GWT application

I'm getting the following exception: com.google.gwt.user.client.rpc.SerializationException: Type 'java.lang.Long' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For…
Tyson
  • 968
  • 1
  • 6
  • 15
20
votes
7 answers

How to test gRPC APIs?

I have been assigned to test a gRPC API (written in Golang) but I don't know how to go about testing it and I couldn't find any tutorials online for this type of testing. The only method that I can think of is to write unit tests to test the methods…
C J
  • 567
  • 2
  • 4
  • 11
20
votes
6 answers

How should a ZeroMQ worker safely "hang up"?

I started using ZeroMQ this week, and when using the Request-Response pattern I am not sure how to have a worker safely "hang up" and close his socket without possibly dropping a message and causing the customer who sent that message to never get a…
Brandon Rhodes
  • 83,755
  • 16
  • 106
  • 147
20
votes
11 answers

What's a good Java-based Master-Slave communication mechanism?

I'm creating a Java application that requires master-slave communication between JVMs, possibly residing on the same physical machine. There will be a "master" server running inside a Java EE application server (i.e. JBoss) that will have "slave"…
Phuong LeCong
  • 1,834
  • 16
  • 19
19
votes
5 answers

Python Twisted JSON RPC

Can anyone recommend some simple code to set up a simple JSON RPC client and server using twisted? I found txJSON-RPC, but I was wondering if someone had some experience using some of these anc could recommend something.
Alex Amato
  • 1,591
  • 4
  • 19
  • 32
19
votes
3 answers

How to handle authentication and authorization with thrift?

I'm developing a system which uses thrift. I'd like clients identity to be checked and operations to be ACLed. Does Thrift provide any support for those?
Igor Gatis
  • 4,648
  • 10
  • 43
  • 66
19
votes
1 answer

What is the difference between net/rpc package of Golang and gRPC framework?

gRPC is a "general RPC framework" which uses ProtoBuffer to serialize and deserialize while the net/rpc package seems could do "nearly" the same thing with encoding/gob and both are under the umbrella of Google. So what's the difference between…
lfree
  • 1,880
  • 3
  • 24
  • 39
19
votes
3 answers

Pagination in gRPC

I'm using gRPC to paginate a call and am trying to figure out the options for doing it/approximation for it. Is this a sensible question to ask? What are some resources I can use to do this?
sparkFinder
  • 3,336
  • 10
  • 42
  • 57
18
votes
6 answers

Good examples, articles and books on marshalling

While working on a software protection library for smart card based dongle I realized I need to transfer some tree-like data structures back and forth between client application and code inside the dongle. Well, when working with web services the…
ezpresso
  • 7,896
  • 13
  • 62
  • 94
18
votes
2 answers

In microservices should i use pub/sub instead RPC to get more loosely couple architecture?

I current using a RPC call to another microservice via TCP and getting the response, but I think I can do it in this way: whithout make a RPC call, can I use a pub/sub to send to one service, publishing some channel like request_user and subscribed…
Augusto Will
  • 562
  • 7
  • 20
18
votes
1 answer

How to prevent NFS server from registering to portmap

I found how to unregister NFS server from portmap using rpcinfo -d, but I would like to force nfs not to register once it starts running I mean - if I use the command service nfs restart - the server should not show at rpcinfo -p after the restart…
Itay Sela
  • 942
  • 9
  • 26