What is RPC
Course: GRPC - chapter 1
RPC stands for remote procedure call . As the name suggests, it lets you call a function in on a different process/server/backend and get back a response from it.
Why remote procedure call?
Section titled “Why remote procedure call?”This is how we’ve made our backends talk to each other until now.
We send out an http request , get back a response.

There are a few flaws in this approach
- No types. You don’t know what is the shape of the data you will get back. You might be able to share types between 2 Node.js backends somehow, but if the other backend is in
Rust, then you cant get back the types from it - We use JSON to
serializeanddeserializedata - We have to know what
axiosis , or whatfetchis . We need to understand HTTP and how to call it - Not language agnostic at all. We have to use a different library in Java, go, rust to send an http request to the server
Let’s try doing a quick HTTP request to https://sum-server.100xdevs.com/todos from a Node.js server
