REST, RPC and GraphQL
Lesson 20 of 40 · Sys.Micro
Three styles for services to talk, and when each one fits.
Check yourself
The mobile profile screen shows a user’s name, their last 5 posts and the comment count on each. The data lives in three backend services. How should the app ask for it?
GraphQL: the client asks for exactly what it needs
Check yourself
A payment request times out and the client retries. What prevents a double charge?
Do it in the browser: a real system design tool, a short mission and instant feedback. No install.
Start this lesson — free