News for hackers. Stuff that matters.
Re:How and why GraphQL will influence the Sourcehut alpha by satvikpendem on Thursday June 11, 2020 @12:15PM (#23490371)
Yes, as this is the main reason that Facebook created GraphQL, it is expensive for mobile phones to query that much data. Something else interesting is that while you begin to write the tailored server side call, and you optimize it, you will end up with something that looks like GraphQL anyway.
Re:How and why GraphQL will influence the Sourcehut alpha by kodablah on Thursday June 11, 2020 @12:17PM (#23490389)
Server-to-server GraphQL seems much more reasonable as both sides are controlled. It's the client-to-server I have less of a justification for compared to targeted calls w/ individual, limited contracts that are quantifiable and optimizable. I have witnessed the costs of allowing highly flexible data fetching from the client once it grows large.
Re:How and why GraphQL will influence the Sourcehut alpha by tomnipotent on Thursday June 11, 2020 @02:55PM (#23492153)
> seems much more reasonable as both sides are controlled

GraphQL has been around for years and people keep making this argument, but where are all the horror stories of unbounded queries being made and systems being hobbled? The argument is beginning to sound anemic.