3 ms·
> the fetching of data will have to go deeper and deeper into the data store. Facebook long ago mastered server-side performance for this sort of use case [1].
by tomnipotent 8y ago
> the fetching of data will have to go deeper and deeper into the data store.
Facebook long ago mastered server-side performance for this sort of use case [1]. Minimizing the number of network requests a mobile app has to make (enter GraphQL) is more important than mitigating costly requests, especially on slow or unreliable networks where the bulk of time in spent waiting on bytes. Entire pages/screens can now be fetched in a single HTTPS request vs. multiple.
As an added bonus, it allows front-end engineers more autonomy and flexibility without having to involve back-end API changes to support ever-changing product updates.
[1] https://en.wikipedia.org/wiki/Facebook_Query_Language https://en.wikipedia.org/wiki/Facebook_Query_Language