Your Handle Is Not a Database Key: ATProto Assumptions That Break Your Code

Falsehoods Programmers Believe About ATProto

Charles Iliya Krempeaux catalogs false assumptions programmers make about ATProto, each backed by the spec or a live request to real servers. Handles change, may not exist, and can be any domain; DIDs are the permanent identifier, but even DID documents can be rewritten or tombstoned. PDSes host many users, migrate, and don't render timelines. Key by DID, normalize it, and re-resolve rather than cache forever.

A handle → DID mapping is only as good as when you last checked it.
  1. zetanor

    "Falsehoods Programmers Believe About Names" is about problems that you commonly run into in the wild; given names or surnames being misused, names that aren't /[A-Za-z-]+/ being refused, names that are too long being refused, names being immutable...

    Is this calque article "Falsehoods Programmers Believe About ATProto" also about things that people get wrong in the ATProto ecosystem in the real world, or is it a list of imagined problems with a funny clickbait title?

  2. irickt

    This is a solid reference, but I don't care for the trope of listing all the falsehoods as titles and then correcting them. Just explain the facts, please.

  3. ForHackernews

    Does anyone use ATProto for anything? I guess maybe Bluesky uses it internally?

    I don't think programmers believe any falsehoods about ATProto because 99% of programmers have never heard of it.

More from this day

2026-11-24