1direction: right
2
3users: Users {
4 shape: person
5}
6
7web: Web Layer {
8 cdn: CDN
9 site: sublimated.com {
10 shape: rectangle
11 }
12 cdn -> site
13}
14
15api: API Layer {
16 rest: api.sublimated.com
17 git: git worker
18 auth: id.sublimated.com
19}
20
21compute: Compute {
22 modal: Modal {
23 typst: Typst Renderer
24 latex: LaTeX Compiler
25 d2: D2 Diagrams
26 build: Function Builder
27 }
28 dynamic: Dynamic Workers {
29 mdx: MDX Pages
30 marp: Presentations
31 reveal: Reveal.js
32 }
33}
34
35storage: Storage Layer {
36 db: PostgreSQL {
37 shape: cylinder
38 }
39 r2: R2 CAS {
40 shape: cylinder
41 }
42 kv: KV Cache {
43 shape: cylinder
44 }
45}
46
47users -> web
48web.site -> api.rest
49web.site -> api.git
50api.rest -> storage.db
51api.rest -> storage.r2
52api.git -> storage.db
53api.git -> storage.r2
54api.rest -> compute.modal
55api.rest -> compute.dynamic
56compute.modal -> storage.r2
57compute.dynamic -> storage.kv