Questions tagged [rpc]

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

Resources

2527 questions
8
votes
1 answer

google protobuf compiler doesn't generate class for service tag?

I'm trying to use protobuf to generate a service using RpcChannel and RpcController. I referred to language guide of google protobuf and: I've got sample proto file like this: syntax = "proto2"; message SearchRequest { required string Request =…
Hind Forsum
  • 9,717
  • 13
  • 63
  • 119
8
votes
3 answers

Is RPC disguised as REST a bad idea?

Our whole system is being designed around REST and are now considering how processes which are quite clearly RPC in intent can be mapped to RESTful resources without using verbs in the URL. Our remote procedure call is used to rebuild our search…
ChrisInCambo
  • 8,455
  • 15
  • 50
  • 63
8
votes
8 answers

How to identify what state variables are read/written in a given method in C#

What is the simplest way to identify if a given method is reading or writing a member variable or property? I am writing a tool to assist in an RPC system, in which access to remote objects is expensive. Being able to detect if a given object is…
cloudraven
  • 2,484
  • 1
  • 24
  • 49
8
votes
2 answers

WMI The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)

My application requirement is like below. Application will run on domain admin system which will ping all machine under that domain, it will take disk drive, CPU and RAM details from all domain systems. Whenever I'm trying to ping machine I'm…
Rahul Nikate
  • 6,192
  • 5
  • 42
  • 54
8
votes
2 answers

Comparison between HTTP and RPC

RPC protocol uses TCP as an underlying protocol and HTTP again uses TCP as an underlying protocol. So why is HTTP is widely accepted? Why does SOAP use HTTP as an underlying protocol - why not RPC?
Programmer
  • 713
  • 1
  • 8
  • 23
8
votes
5 answers

Efficient Python IPC

I'm making an application in Python3, which will be divided in batch and gui parts. Batch is responsible for processing logic and gui is responsible for displaying it. Which inter-process communication (IPC) framework should I use with the…
Wojciech Danilo
  • 11,573
  • 17
  • 66
  • 132
8
votes
1 answer

xml-rpc request using curl?

I have a Magento server that has various methods exposed through the API. I am prototyping various client-side modules to call this API. This has been successful so far. I just started using curl to push xml through. Surprisingly, I'm unable even to…
Vish
  • 2,144
  • 5
  • 25
  • 48
8
votes
1 answer

Comparison of the multiprocessing module and pyro?

I use pyro for basic management of parallel jobs on a compute cluster. I just moved to a cluster where I will be responsible for using all the cores on each compute node. (On previous clusters, each core has been a separate node.) The python…
Alex Coventry
  • 68,681
  • 4
  • 36
  • 40
7
votes
2 answers

Is RabbitMQ practical for RPC-esque bidirectional use during request processing?

Super simple question, I couldn't find a concrete answer out there. Is RabbitMQ suitable for RPC-like operations when processing HTTP requests? I'm interested in firing off a message when a user HTTP request is received, waiting for the response…
Andrew
  • 203
  • 3
  • 6
7
votes
3 answers

Qt and Boost RPC

I'm looking for a good way to connect two systems: 1) a Qt based application running on Ubuntu and 2) a Boost based application running on another Ubuntu machine. Both applications use a common library where I would put the common interface code. …
Brad
  • 171
  • 2
  • 6
7
votes
2 answers

inter jvm communication

I am looking for an inter-process communication library in Java. I am looking to send small messages between JVMs and would like to do it using shared memory if I could.
Javamann
  • 2,882
  • 2
  • 25
  • 22
7
votes
4 answers

Any opensource C/C++ Libraries/Frameworks for RPC over pipes/internal linux sockets?

I am looking for a lightweight opensource library/framework preferably written in C/C++ (it doesn't have to support x languages and should be easy to understand and use.) which can be used to make RPC over internal linux sockets or pipes. In other…
G.G.
  • 147
  • 1
  • 4
  • 10
7
votes
2 answers

How to connect to RSK public nodes over websockets?

I am trying to connect to RSK Mainnet or RSK Testnet over websockets. Here's what I tried for Mainnet: const wsProvider = new Web3.providers.WebsocketProvider('ws://public-node.rsk.co'); const web3 = new…
Milton
  • 161
  • 1
  • 4
7
votes
1 answer

GWT & XSRF Protection

I'm looking at possible solutions to protect my GWT app against XSRF. If I understand GWT's solution correctly - it makes available a Servlet which you use to both generate the token on the client-side (when calling your RPC endpoint) and to…
Markus Coetzee
  • 3,384
  • 1
  • 29
  • 26
7
votes
1 answer

What is the right way to use ThreadLocal in grpc interceptor?

We have a gPRC service that needs to set auth/identity information in a ThreadLocal variable in a class for it to correctly call another service. The gPRC service gets the auth/identiy information from request so I am thinking to use interceptor. To…
garlicbulb
  • 306
  • 3
  • 11