~/talk

Token-Based Architecture Design

Talkat Platform Summit 2014 · 2014-10-20..10-22· [api-design, security]
links:none on file
slides:none on file

Token design determines whether authentication is a DB bottleneck or a constant‑time primitive: using stateless signed tokens (encrypted payload, HMAC) removes per‑request lookups, requires shared key rotation, and yields ~220 bytes (330 with scope). Revocation works by a short lifetime plus a token revocation blacklist propagated over a back channel and cached in memcache/Redis, so logout is an acceptable slow path. Pattern examples: “happy accident” HTML scraping (Billboard scraper built and used), API gateway/front desk and full service‑oriented metropolis.

AI-written summary · about

  1. 0:00Intro
  2. 2:08API PHILOSOPHY
  3. 2:36TWO PILLARS
  4. 4:59COMMON API ARCHITECTURES
  5. 6:06THE HAPPY ACCIDENT
  6. 8:20THE FRONT DESK
  7. 9:59BEHIND THE DESK
  8. 10:55BUILDING A BIGGER DESK
  9. 11:43THE ROUTING DESK
  10. 13:13A FRONT DESK IN EVERY SERVER
  11. 14:28TOKEN DESIGN - THE OLD WAY
  12. 14:47TOKEN DESIGN - A BETTER WAY
  13. 16:16BENEFITS
  14. 16:35PARSING REQUIREMENTS
  15. 17:06PAYLOAD VALUES
  16. 17:53TOKEN CHARACTERISTICS
  17. 18:19OAUTH 2.0 EXAMPLE
  18. 18:29LEAVING METROPOLIS
  19. 18:39BEFORE YOU LEAVE
  20. 20:12A CITY OF HIDDEN TUNNELS
  21. 21:15REVIEW
~/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.