Skip to main content

Questions tagged [rpc]

0 votes
0 answers
95 views

Options for C# machine to machine communication [duplicate]

I’m evaluating different options for communication between C# applications. My requirements are: Central server where clients connect Persistent connection, server should know when clients connect/...
Markus Knappen Johansson's user avatar
1 vote
1 answer
151 views

Invalidation of cached GET results by other endpoints

I have not previously designed a nontrivial HTTP API, so I apologize if anything here is textbook stuff. I wasn't able to find anything going into this in much detail when I looked. Let's say I have ...
Daniel McLaury's user avatar
2 votes
3 answers
1k views

How do RPC systems deal with slow or flaky networks?

In an RPC (Remote Procedure Call) design, an interaction across the network is hidden behind a synchronous API that makes the network interaction look (to the rest of the local program) like "...
Jeremy Friesner's user avatar
-2 votes
2 answers
238 views

Inter-microservice communication with gRPC without hard-coding service endpoints

I'm building a microservices architecture that requires microservices to communicate with each other. Searching Google has led me to believe that gRPC is the preferred method for achieving this. ...
alan's user avatar
  • 107
1 vote
0 answers
127 views

API Design (RPC - RESTful)

I'm new to API design. I've been reading numerous threads RESTful vs RPC patterns for API design, but I feel like none directly addressed my exact use case, so I just wanted to get a second opinion. ...
NJH's user avatar
  • 11
2 votes
3 answers
748 views

Is RPC itself a network protocol?

Design Data Intensive Applications compares RPC and REST. It says The RPC model tries to make a request to a remote network service look the same as calling a function or method in your programming ...
Tim's user avatar
  • 5,525
1 vote
0 answers
137 views

What's the most intuitive way to organize a set of endpoints to fetch users and their roles in groups?

What's the most intuitive way to organize a set of endpoints to fetch users and their roles in groups? i.e. Users and their roles in a specified group. Groups a user is in, and their role in each ...
Andrew Cheong's user avatar
2 votes
2 answers
290 views

Cache maintained by caller app or by provider app in microservices inter-app communication?

Suppose there are app1 and app2 in a microservices. app2 needs to call app1's RESTful APIs. Cache is needed since the call will be frequent. So after a successful RESTful call, there will be cache ...
Wei Huang's user avatar
  • 265
0 votes
0 answers
136 views

JSON-RPC Json Objects Best Practices

I am building a JSON-RPC over UDP socket API in Java. There are 6 objects that will be transmitted in JSON: jsonRequest jsonSuccessResponse jsonError jsonErrorResponse jsonNotification ...
admin's user avatar
  • 1
3 votes
2 answers
495 views

Should I use gRpc in my business layer?

I'm moving from REST APIs to gRpc but having a hard time figuring out how to structure my logic. The basic layout of my solution is having a business layer/API and a few different front-ends (Windows ...
user3953989's user avatar
0 votes
1 answer
653 views

RPC with Express JS? [closed]

I've been working on a project recently where I have an Expressjs server that supplies weather forecast data to its clients. Right now, I'm using express simply as a means of exposing some functions I ...
namarino41's user avatar
1 vote
2 answers
129 views

Externalized component and communication approach - REST or RPC?

This is a hypothetical scenario with some concrete parts. Say that I have built a system that allows users to interactively arrange living room layout. The result of this arrangement is presented to ...
Dusan's user avatar
  • 585
1 vote
1 answer
308 views

Should I do parallel processing in RPC web service?

Recently I was reviewing my team leader pull request in our Web API hosted by Kestrel. There was a place in our code which is sort of hot path and we are processing frequently over hundred of items ...
kuskmen's user avatar
  • 194
10 votes
6 answers
3k views

Designing function based RESTful API

Please settle an argument between me and a friend. We'r currently designing a product API. Our Product entity looks like this { "Id": "", "ProductName": "", "StockQuantity": 0 } Product ...
Sefa Ümit Oray's user avatar
6 votes
1 answer
2k views

How does a pure P2P node connect to other nodes

I'm working on my first P2P app using C# core and gRPC and I'm finding it difficult to understand the concepts of how nodes find each other and build a routing table. For my design I'd like to only ...
user3953989's user avatar

15 30 50 per page