2 ms·
1. Depending your database technologies, queries are still going to be more efficient with batched operations. 2. HTTP/2 doesn't make latency/speed of light ze
by paulddraper 7y ago
1. Depending your database technologies, queries are still going to be more efficient with batched operations.
2. HTTP/2 doesn't make latency/speed of light zero.
3. Outside of performance, GraphQL is a type-safe, error-minimal way to perform joins and searches.
- 11235813213455 7y agoWhat about HTTP/3 for your second point?
- paulddraper 7y agoSame. Query, Answer, Query, Answer has twice the latency of Query, Answer
- darkcha0s 7y agoNo it doesn't. It depends on how long the query<->answer time is, and if it's the same. A complex GraphQL query may well take longer than 2 simple REST requests