GraphQL: The Documentary

CultRepo · 603K views · 2019 · 27:58

Open on YouTube

Tech company stories & documentariesSoftware architecture & designWeb developmentdocumentary

Why Hacker News recommends it

HN recommends it for understanding the original motivation behind GraphQL before judging whether it fits your problem.

What it is

A documentary on how GraphQL came to be at Facebook, featuring its co-creators Lee Byron, Dan Schafer and Nick Schrock. It covers the problems it solved and its adoption at companies like Twitter, Airbnb and GitHub.

Recommended by 2 HN commenters across 2 different months, 2019 to 2022.

What Hacker News said

Recommends typingmonkey · 2020-07 · on “GraphQL Query Generator”

I recommend to watch the documentation about the facebook people that invented GraphQL [1]. Listen careful to which problems they solved with graphql, then think about the problems you have to solve for your application. Most of the time GraphQL is not worth its tradeoffs. [1] [this video]

Recommends realPubkey · 2022-05 · on “GraphQL Is a Trap?”

Watch this Honeypot documentation about GraphQL. Listen to what the developers tell which problems they had to solve when they invented GraphQL. You likely do not have any of these problems. [this video]

Cites rwieruch · 2019-07 · on “Ask HN: Is GraphQL still relevant?”

1) I think GraphQL is more relevant than ever. Facebook ran into the same problems like Netflix, Airbnb and Twitter and thus came up with GraphQL [0]. 2) The most popular one I know is GitHub's GraphQL API [1]. I made the difficult decision to rely on their API to teach GraphQL in my free book [2]. So far, there were no breaking changes for me and people love it to learn GraphQL from a client's perspective. 3)I would use it if I want to have no under-/overfetching, declarative data fetching, microservice API aggregation, ... [3] 4) Using it in personal projects and one client of mine is using it in one application to aggregate multiple microservices (each one speaking GraphQL) into one Graph

Cites siscia · 2019-10 · on “Why Graphiti?”

So we invented a query language (GraphQL) to solve an orchestration problem? Sorry but I don't buy this reason. Especially not to the question: "Why we don't use SQL as a query language?" especially because REST was around way earlier than GraphQL. Your reasoning could be great to answer the question: "Why we like GraphQL where there are a lot of microservices?" BTW, there is nothing inherent in the language in itself, if each microservices would be speaking SQL, you would simply need to optmize your SQL query , decompose your optimized SQL query creating simpler queries one for each microservice, send each of those queries to the relative microservices, compute back the final result. If you

Cites namelosw · 2019-12 · on “Ask HN: Why GraphQL APIs but no Datalog APIs?”

> It is unclear that the total impact on performance would be significantly negative compared to the typical GraphQL API. Some of the problems also apply to GraphQL, people just need to constrain the query complexity in the end. But yeah, it would bite Datalog more if not designed well enough, and it's harder to tackle Datalog than to GraphQL. Other thoughts on this topic: I love GraphQL but I would love Datalog more if the toolchain is as good as GraphQL. There's a spectrum on API of simplicity and power -- on the left, there is HTTP/REST which could be seen as a primitive/naive way of describing API it's not consumer-driven at all. On the right there's Datalog which is a powerful way of de