Questions tagged [rpc]

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

Resources

2527 questions
9
votes
1 answer

How can I block a specific user in random match making by using Photon Engine ?

We are making random match making game by using Photon engine. We want to match players with different users in a certain amount of time. If PlayerA plays with PlayerB they cannot play again for 30 minutes. What is the best way of doing this kind of…
Çağatay Kaya
  • 417
  • 1
  • 6
  • 19
9
votes
1 answer

Data validation in AVRO

I am new to AVRO and please excuse me if it is a simple question. I have a use case where I am using AVRO schema for record calls. Let's say I have avro schema { "name": "abc", "namepsace": "xyz", "type": "record", "fields": [ …
user2166328
  • 199
  • 2
  • 2
  • 6
9
votes
3 answers

Download dynamic file with GWT

I have a GWT page where user enter data (start date, end date, etc.), then this data goes to the server via RPC call. On the server I want to generate Excel report with POI and let user save that file on their local machine. This is my test code to…
Maksim
  • 16,635
  • 27
  • 94
  • 135
9
votes
1 answer

Is bad practice to mix REST and RPC together?

I'm fairly new to REST web services and very used to RPC. I know the advantages of REST by reading several posts like this one. I am developing the server in django using django-rest-framework. Although have this question (or questions): I have this…
Rodrigo Gil
  • 123
  • 1
  • 6
9
votes
1 answer

Which Java XML RPC library to use

There seems to be two options for using xml-rpc in normal java: javax.xml.rpc - seems more complicated but is a part of standard jdk (or is it?) org.apache.xmlrpc - seems more easy to use, but i have to attach the library in my jar (or do…
Dreen
  • 6,976
  • 11
  • 47
  • 69
9
votes
10 answers

RPC Authentication error

Last week I was using RPC and could run my RPC server program just fine. However, today I tried to start it again and I am getting this error: Cannot register service: RPC: Authentication error; why = Client credential too weak unable to register…
Maricruzz
  • 405
  • 3
  • 7
  • 14
9
votes
1 answer

Asynchronous Remoting calls

We have a remoting singleton server running in a separate windows service (let's call her RemotingService). The clients of the RemotingService are ASP.NET instances (many many). Currently, the clients remoting call RemotingService and blocks while…
CVertex
  • 17,997
  • 28
  • 94
  • 124
8
votes
1 answer

Java <-> C Bridge

I'm working on a application which has Java web interface hosted on Glassfish server and C kernel which is implemented as Linux daemon. My biggest problem right now is how to make Remote Procedure Calls. I need to call functions and methods in both…
Peter Penzov
  • 1,126
  • 134
  • 430
  • 808
8
votes
2 answers

@WebServlet annotation and GWT RPC

In my GWT project running in glassfishv3, everything is worked properly, but when I change my servlet url patterns mapping from web.xml to @WebServlet annotation inside servlet classes, GWT rpc cand find the servlet! note that, other usual servlets…
Nav
  • 4,450
  • 10
  • 53
  • 84
8
votes
3 answers

Difference between RPC system and Enterprise Service Bus

What's the difference between an RPC System, like Twitter's Finagle, and an Enterprise Service Bus, like Mule? What kind of problems are each of them good at solving?
Bradford
  • 4,143
  • 2
  • 34
  • 44
8
votes
1 answer

Why is the term stub used for RPC?

Wikipedia says A stub in distributed computing is a piece of code that converts parameters passed between client and server during a remote procedure call (RPC) How does the original meaning of the word stub relate to its function in RPC?
Zhu Li
  • 585
  • 6
  • 18
8
votes
2 answers

How to use personal_sendTransaction on RSK?

I'm running an RSK node and I'm trying to send a transaction using personal_sendTransaction but I get this error: The local wallet feature is disabled How can I fix this? thanks in advance
Dul
  • 81
  • 3
8
votes
1 answer

How to handle custom exceptions with gRPC in Python?

I need to implement custom exceptions for handling gRPC request errors with Python. For HTTP requests it's straightforward - requests library catches it well when there's an error code etc. I am looking for analogous ways for gRPC to do something…
Eli Halych
  • 545
  • 7
  • 25
8
votes
1 answer

How can i write my own RPC Implementation for Protocol Buffers utilizing ZeroMQ

According to the Google Protocol Buffers documentation under 'Defining Services' they say, it's also possible to use protocol buffers with your own RPC implementation. To my understanding, Protocol Buffers does not implement RPC natively.…
Vpaladino
  • 320
  • 2
  • 12
8
votes
2 answers

gRPC DEADLINE_EXCEEDED even that the server is up and

I have two microservices that communicate each other thru gRPC, A is the RPC client and B is the RPC server, both written in NodeJS using grpc NPM module. Everything is working fine until, at some point in time, unexpectedly A stop being able to…
Shlomi
  • 3,622
  • 5
  • 23
  • 34