diagramkit
BLOG · How software works

How software systems work, drawn step by step

APIs, caching, payments, sign-in and deploys: how the systems behind everyday products work, one diagram at a time.

  1. How software works · · 3 min read

    CAP theorem explained with one bank balance

    The CAP theorem says a distributed database can't stay both consistent and available while its network is split. Here is the choice drawn with one bank balance on two servers.

  2. How software works · · 4 min read

    TCP vs UDP: the difference, drawn step by step

    TCP makes sure every byte arrives, in order. UDP sends and moves on. Here is how each one delivers data, why their headers differ, and which apps use which.