~/talk

A no nonsense GraphQL and REST comparison

Talkat RubyConf Colombia 2017 · 2017-09-08..09-09· [api-design, graphql]
slides:none on file

Argues that GraphQL is a focused query layer optimized for network speed and tight client–server coupling (born from Facebook’s FQL), while REST favors longevity, decoupling and HTTP features like sparse field sets and HTTP cache middleware. Gives concrete numbers: asking for fewer fields cuts 8 ms (4%) on a 200 ms call, but server-side caching can make endpoints 46% faster overall. Notes tools and standards that REST uses—JSON API, OData, JSON Schema, Varnish/nginx, HTTP/2—and warns GraphQL needs whole-data availability and struggles with caching and file uploads; ideal for read-heavy analytics.

AI-written summary · about

  1. 0:00API bicycle analogy
  2. 2:00The hype around GraphQL
  3. 3:53REST vs GraphQL philosophy
  4. 5:25GraphQL features in REST
  5. 8:29History of query languages
  6. 10:26The importance of caching
  7. 12:57Database optimization
  8. 14:26Hypermedia and REST maturity
  9. 16:01REST as a state machine
  10. 19:00Implementing hypermedia
  11. 22:33Choosing the right tool
  12. 25:21Final recommendations
~/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.