~/talk

Advanced API Design for Scalable Distributed Systems

Talkat Conf42 Python 2024 · on Thursday, 2024-02-29· [api-design, microservices]
slides:none on file

Compares REST over HTTP for external gateways and Thrift code generation + binary RPC inside the backend, claims binary Thrift beats JSON for latency, and shows cross‑language stubs generated for Java/Python/Go. Describes asynchronous design using Kafka/rocketmq queues with a callback URL or webhook for external partners, shows retry via queue ack/nack. Implements rate limiting with an annotation example limit=5/60s and prevents double actions via an idempotency key stored in DB checked before processing.

AI-written summary · about

  1. 0:00intro
  2. 0:20preamble
  3. 2:20rest for http and thrift for rpc
  4. 15:24design asynchronous api calls with callback
  5. 27:34design rate limiting your apis
  6. 31:32design idempotency for apis
~/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.