~/talk

GraphQL as an umbrella for microservices

Talkat PyCon Sweden 2023 · 2023-11-09..11-10· [graphql, microservices]
links:none on file
slides:none on file

An e‑commerce backend of 15 microservices uses a GraphQL gateway (Starlette/FastAPI) that translates internal REST calls into client queries, adopts schema-first with Ariadne so frontend teams can own the contract, and uses data loader batching to avoid N+1 product calls. REST APIs remain for debugging, file uploads go directly to cloud storage, OpenTelemetry instruments resolvers, and pytest snapshot tests (Zapi) verify gateway translations. The gateway reduces coupling and works in production, with caveats around GraphQL error semantics and binary handling.

AI-written summary · about

  1. 0:00Introduction to GraphQL for microservices
  2. 3:03Initial microservices architecture
  3. 7:19Problems with REST APIs
  4. 9:07What is GraphQL
  5. 13:27GraphQL in Python
  6. 17:19GraphQL as API Gateway
  7. 19:28GraphQL drawbacks and caveats
  8. 23:44Recommendations and conclusion
  9. 24:25Q&A session
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.