~/talk

Designing API: REST, gRPC or GraphQL?

Talkat Shift Dev 2019 · 2019-05-30..05-31· [api-design]
slides:none on file

Demo builds the same Java API three ways on Apache Cassandra using a table-per-query model (two comment tables for user and video) and a small Maven project; test data yields paging and works in browser after a restart. REST gives HTTP verbs, Swagger docs and fits API‑management tooling; gRPC uses a proto file, generates client/server stubs, uses protobuf binary serialization and favors streaming and low latency but limits nested depth; GraphQL exposes a single endpoint with GraphiQL discoverability and smaller payloads; schema edited in DataStax Studio.

AI-written summary · about

  1. 0:00Start
  2. 4:42Data is distributed
  3. 5:09Data is replicated
  4. 5:44Tuneable Consistency
  5. 8:08Api Design Methodology
  6. 8:36Designing Data Model
~/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.