RIP 1: Improvements to diagram

This commit is contained in:
Alexis Sellier
2023-04-03 12:29:15 +02:00
parent 1c40211698
commit 4fb5256eed
+20 -20
View File
@@ -492,26 +492,26 @@ This allows for code to be staged for publishing even while offline, provided
the user's storage is accessible. In most cases, it makes sense to keep the user's storage is accessible. In most cases, it makes sense to keep
storage and working copies on the same machine. storage and working copies on the same machine.
┌─────────────────────────────────────┐ ┌───────────────────────────────────┐ ┌╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴┐ ┌╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴┐
│ ┌────────────────────────┐ ┌──────┐ │ │ ┌──────┐ ┌──────────────────────┐ │ ┆ ┌───────────────────┐ ┌──────┐ ┆ ┆ ┌──────┐ ┌─────────────────┐ ┆
│ │ Storage │ │ │ │ git │ │ │ │ Storage │ │ ┆ │ Storage │ │ │ ┆ Git ┆ │ │ │ Storage │ ┆
│ │ ├─┤------├─┼─--------─┼─┤------├─┤ │ │ ┆ │ ├╸┆╸╸╸╸╸╸┆╸╸╸╸╸╸╸╸╸╸╸╸╸╸┆╸╸╸╸╸╸┆╸┤ │ ┆
│ │ ┌───────┐ ┌───────┐ ┌│ │ │ │ fetch │ │ │ │ ┌───────┐ ┌───────┐ │ │ ┆ │ ┌──────┐ ┌─────┐ ┌│ │ │ ┆ protocol ┆ │ │ │ ┌─────┐ ┌─────┐ │ ┆
│ │ │Project│ │Project│ ││ │ │ │ │ │ │ │ │Project│ │Project│ │ │ ┆ │ │repo │ │repo │ ││ │ │ ┆ ┆ │ │ │ │repo │ │repo │ │ ┆
│ │ ├───────┤ ├───────┤ ├│ │ │ │ │ │ │ │ ├───────┤ ├───────┤ │ │ ┆ │ ├──────┤ ├─────┤ ├│ │ │ ┆ ┆ │ │ │ ├─────┤ ├─────┤ │ ┆
│ └─┴────▲──┴──┴────┬──┴──┴┘ │ │ │ │ │ │ └─┴────┬──┴──┴────▲──┴─┘ │ ┆ └─┴───╿──┴─┴───┬─┴─┴┘ │ │ ┆ ┆ │ │ └─┴───┬─┴─┴───╿─┴─┘ ┆
│ │ │ │ │ │ gossip │ │ │ │ │ │ ┆ │ │ │ │ ┆ gossip ┆ │ │ │ │ ┆
│ │ │ │ node ├─┼─--------─┼─┤ node │ │ │ │ ┆ │ │ │ Node ├╸╸╸╸╸╸╸╸╸╸╸╸╸╸┤ Node │ │ │ ┆
│ │ │ │ │ │ protocol │ │ │ │ │ │ ┆ │ │ │ │ ┆ protocol ┆ │ │ │ │ ┆
│ push pull │ │ │ │ │ │ pull push │ ┆ push pull │ │ ┆ ┆ │ │ pull push ┆
│ │ │ │ │ │ │ │ │ │ │ │ ┆ │ │ │ │ ┆ ┆ │ │ │ │ ┆
│ │ │ │ │ │ │ │ │ │ │ │ ┆ │ │ │ │ ┆ ┆ │ │ │ │ ┆
│ │ │ │ │ │ │ │ │ │ │ │ ┆ │ │ │ │ ┆ ┆ │ │ │ │ ┆
│ ┌────┴───┐ ┌───▼────┐ │ │ │ │ │ │ ┌────▼───┐ ┌───┴────┐ │ ┆ ┌────┴───┐ ┌──╽─────┐│ │ ┆ ┆ │ │ ┌─────╽──┐ ┌──┴────┐┆
│ │Working │ │Working │ │ │ │ │ │ │ │Working │ │Working │ │ ┆ │working │ │working ││ │ ┆ ┆ │ │ │working │ │working│┆
│ │copy │ │copy │ │ │ │ │ │ │ │copy │ │copy │ │ ┆ │copy │ │copy ││ │ ┆ ┆ │ │ │copy │ │copy │┆
│ └────────┘ └────────┘ └──────┘ │ │ └──────┘ └────────┘ └────────┘ │ ┆ └────────┘ └────────┘└──────┘ ┆ ┆ └──────┘ └────────┘ └───────┘┆
└─────────────────────────────────────┘ └───────────────────────────────────┘ └╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴┘ └╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴╴┘
Splitting the storage into per-project repositories has numerous advantages Splitting the storage into per-project repositories has numerous advantages
over previous designs that used a "monorepo": over previous designs that used a "monorepo":