зеркало из
https://github.com/iharh/notes.git
synced 2025-10-29 12:46:06 +02:00
m
Этот коммит содержится в:
родитель
e522ef4bff
Коммит
5b94957217
2
devops/container/box/microsandbox.txt
Обычный файл
2
devops/container/box/microsandbox.txt
Обычный файл
@ -0,0 +1,2 @@
|
||||
https://docs.microsandbox.dev/
|
||||
https://github.com/microsandbox/microsandbox
|
||||
45
pl/web/design/diagrams/mermaid/samples/microvm.md
Обычный файл
45
pl/web/design/diagrams/mermaid/samples/microvm.md
Обычный файл
@ -0,0 +1,45 @@
|
||||
```mermaid
|
||||
flowchart TB
|
||||
%% ── Client side ──────────────────────────
|
||||
subgraph ClientProcess["process"]
|
||||
A["Your Business Logic"]
|
||||
B["microsandbox SDK"]
|
||||
A -->|calls| B
|
||||
end
|
||||
|
||||
%% ── Server side ─────────────────────────
|
||||
subgraph ServerProcess["process"]
|
||||
C["microsandbox server"]
|
||||
end
|
||||
B -->|sends untrusted code to| C
|
||||
|
||||
%% ── Branching hub ───────────────────────
|
||||
D([ ])
|
||||
C -->|runs code in| D
|
||||
|
||||
%% ── Individual MicroVMs ────────────────
|
||||
subgraph VM1["microVM"]
|
||||
VM1S["python environment"]
|
||||
end
|
||||
|
||||
subgraph VM2["microVM"]
|
||||
VM2S["python environment"]
|
||||
end
|
||||
|
||||
subgraph VM3["microVM"]
|
||||
VM3S["node environment"]
|
||||
end
|
||||
|
||||
D --> VM1S
|
||||
D --> VM2S
|
||||
D --> VM3S
|
||||
|
||||
%% ── Styling ─────────────────────────────
|
||||
style A fill:#D6EAF8,stroke:#2E86C1,stroke-width:2px,color:#000000
|
||||
style B fill:#D6EAF8,stroke:#2E86C1,stroke-width:2px,color:#000000
|
||||
style C fill:#D5F5E3,stroke:#28B463,stroke-width:2px,color:#000000
|
||||
style D fill:#F4F6F6,stroke:#ABB2B9,stroke-width:2px,color:#000000
|
||||
style VM1S fill:#FCF3CF,stroke:#F1C40F,stroke-width:2px,color:#000000
|
||||
style VM2S fill:#FCF3CF,stroke:#F1C40F,stroke-width:2px,color:#000000
|
||||
style VM3S fill:#FCF3CF,stroke:#F1C40F,stroke-width:2px,color:#000000
|
||||
```
|
||||
Загрузка…
x
Ссылка в новой задаче
Block a user