Grokking Microservices for System Design Interviews

0% completed

REST vs. gRPC vs. GraphQL

1. Three Tools, Three Different Jobs

"REST or gRPC?" sounds like a versus question. The strongest answers refuse the framing.

Mature systems typically use more than one of these, in different places. That is because they optimize for different things. Your job in an interview is to know what each one is for, then assign each edge of your design the right one.

REST is the convention of using plain HTTP with JSON. Resources are URLs. Actions are HTTP methods like GET and POST. Responses are JSON, which is text a person can read.

Its strengths are universality and zero friction

.....

.....

.....

Like the course? Get enrolled and start learning!