~/talk

GraphQL, REST or RPC? Making the choice!

Talkat PHP UK Conference 2023 · 2023-02-14..02-16· [graphql, web-platform]
slides:none on file

Clear claims and tradeoffs: JSON‑RPC and gRPC make RPC feel like calling remote functions and explain why Ethereum picks JSON‑RPC; REST leverages HTTP/2, status codes, e‑tags and content negotiation so caches and raw image responses work; GraphQL lets clients pick fields and reduce round trips but can DDoS servers without complexity limits and needs Relay/global ID patterns for sensible pagination. Concrete examples include a GraphQL author/books query (returns a totalCount of six in the demo) and an RPC POST-based method call that returns a result.

AI-written summary · about

  1. 0:00Introduction to API styles
  2. 2:38Understanding RPC APIs
  3. 8:20Deep dive into RESTful APIs
  4. 17:40GraphQL architecture and use
  5. 25:13Selecting the right architecture
  6. 35:28Versioning and API evolution
  7. 40:47Design challenges and patterns
  8. 52:10Errors, docs, and conclusions
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.