Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit a2f6f52

Browse files
committed
docs: add IPFS Architecture Diagram
1 parent e1d4e6a commit a2f6f52

File tree

3 files changed

+54
-0
lines changed

3 files changed

+54
-0
lines changed

img/architecture.monopic

6.15 KB
Binary file not shown.

img/architecture.png

117 KB
Loading

img/architecture.txt

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
┌─────────────────────────────────────────────────────────────────────────────┐
2+
│ The IPFS Architecture │
3+
└─────────────────────────────────────────────────────────────────────────────┘
4+
┏━ ━━ ━━ ━━ ━━ ━━ ━━ ━━ ━━ ━━ ━━ ━━ ━━
5+
======================= IPFS Daemon ======================= ┃
6+
┃ ┃
7+
┃┌────┐
8+
│ │ ┏ ━ ++++++++++++++++++ IPFS Core ++++++++++++++++++ ━ ━
9+
│ │ ┌──────────────────────────────────────────────────┐ ┃
10+
│HTTP│ ┣─│ API (Core API) │ ┃
11+
┃│Gate│ │ ├──────┬──────┬──────┬──────┬──────┬───────┬───────┤ ┃┃
12+
┃│way │◀┤ │ Repo │Block │ DAG │ Pin │Files │ │Network│
13+
│ │ │ └──────┴──────┴──────┴──────┴──────┘ └───────┘ ┃
14+
│ │ │ │ │ │ │ │ │
15+
│ │ │ │ │ ┌────┘ │ ┌────┘ ┌────┘ ┃┃
16+
┃└────┘ │ ┌──┘ │ │ ┌──────┘ │ │ ┃
17+
┃ │ │┌────────┘ │ ▼ ▼ ▼ ┃
18+
┌────┐ │ ││ │┌───────┐┌──────┐┌────────────────────┐
19+
│ │ │ ││ ││Pinning││Unixfs││ libp2p │┃
20+
│ │ │ ││ ││Service││Engine││┌──────────────────┐│ ┃
21+
┃│ │ │ ││ │└───────┘└──────┘││Connection Manager││┃┃
22+
┃│HTTP│ │ ││ │ │ │ │└──────────────────┘│
23+
│RPC │ │ ││ ├────┴────────┘ │┌ ─ ─ ─ ─ ─ ─ ─ ─ ─ │┃
24+
┌───┐┌────────┐ │API │◀┫ ││ │ │ Peer Reputation ││
25+
│CLI││ipfs-api│ │ │ ││ │ │└ ─ ─ ─ ─ ─ ─ ─ ─ ─ │┃┃
26+
└───┘└────────┘┃│ │ ┃ ││ │ └────────────────────┘ ┃
27+
┃│ │ ││ ┌──┘┌ ─ ─ ─ ─ ┐┌ ─ ─ ─ ─ ─ ┃
28+
│ │ ┃ ││ │ Providers GC │
29+
└────┘ ││ │ │ Service ││ ┃
30+
┃ ││ ▼ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┘ ┃
31+
┃ ││┌─────────────┐ ┃┃
32+
┃ ┃ │││Graph Service│─────┬───────────┬───────────┐
33+
││└─────────────┘ ▼ ▼ ▼ ┃
34+
┃ ││ │ ┌ ─ ─ ─ ─ ─ ┌ ─ ─ ─ ─ ─ ┌ ─ ─ ─ ─ ─
35+
│└───────┤ GraphSync │ GraphSyncB│ GraphSyncC│┃┃
36+
┃ ┃ │ ▼ └ ─ ─ ─ ─ ─ └ ─ ─ ─ ─ ─ └ ─ ─ ─ ─ ─ ┃
37+
┃ │ ┌─────────────┐ ┃
38+
┃ │ │Block Service│─────┬───────────┬───────────┐
39+
│ └─────────────┘ ▼ ▼ ▼ ┃
40+
┃ │ │ ┌──────────┐┌ ─ ─ ─ ─ ─ ┌ ─ ─ ─ ─ ─ ┃
41+
┃ └─────┬──┴──────│ Bitswap │ BitswapB │ BitswapB │┃┃
42+
┃ ┃ ▼ └──────────┘└ ─ ─ ─ ─ ─ └ ─ ─ ─ ─ ─
43+
┌─────────┐ ┃
44+
┃ │ Repo │
45+
└─────────┘ ┃┃
46+
┃ ┃ │ ┃
47+
┃ ┌─┴──────┬──────────┬───────┐ ┃
48+
┃ ▼ ▼ ▼ ▼
49+
┌────┐┌──────────┐┌────────┐┌────┐ ┃
50+
┃ │ fs ││indexedDB ││LevelDB ││ S3 │ ┃
51+
┃ └────┘└──────────┘└────────┘└────┘ ┃┃
52+
┃ ┃
53+
━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ━ ┛
54+
━━ ━━ ━━ ━━ ━━ ━━ ━━ ━━ ━━ ━━ ━━ ━━ ━━

0 commit comments

Comments
 (0)