~/talk

Identity and GraphQL: More Than You Want to Think About IDs

Talkat GraphQLConf 2024 · on Wednesday, 2024-09-11· at 13:40· Metropolitan A· [graphql, software-architecture]
slides:none on file

Meta finds many types using incompatible ID schemes, some types even have three different IDs, which causes client cache collisions and overwrites. Using raw DB row IDs creates clashes, huge serialized IDs (up to 100 kilobyte IDs) blow up key value stores, and a single node ID mixes comparison and lookup. Solution: use type-prepended IDs, prefer UUIDs, and classify types as weak/strong/fetchable with a separate cacheKey for cheap comparisons. This reduces collisions and improves lookup performance while keeping older clients compatible.

AI-written summary · about

  1. 0:00Introduction to identity
  2. 5:45Global Object Identification
  3. 12:10Weak strong and fetchable types
  4. 17:51Lessons from News Feed
  5. 20:04Designing identity systems
~/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.