3 ms·
> one request is better than many This is plainly not true. Web servers are designed to serve concurrent requests. So are databases. HTTP2 drastically improves
by eyelidlessness 7y ago
> one request is better than many
This is plainly not true. Web servers are designed to serve concurrent requests. So are databases. HTTP2 drastically improves the networking part of this. GraphQL offers a unified request-response object without needing to combine responses. It provides no guarantees about improved performance, particularly when the solution is automated and there's no way for a requester to reason about the performance implication of the queries they're issuing. It almost certainly provides worse performance than well designed RESTful endpoints requested concurrently.