Skip to content

Commit cb94d4d

Browse files
ChenQiChenQi
authored andcommitted
Move mermaid to file, since github does not support mermaid render inside of markdown
1 parent d3f0619 commit cb94d4d

File tree

2 files changed

+38
-41
lines changed

2 files changed

+38
-41
lines changed

PageSpeedInsights/README.md

Lines changed: 0 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -105,47 +105,6 @@ PSI API是Google RESTful APIs之一, 仅需一次 HTTP 请求 ,应答返回
105105

106106
#### 2.1 系统流程图
107107

108-
```mermaid
109-
graph TB
110-
Job(定时作业任务)
111-
CPS_Job_P(Job Publisher)
112-
CPS_Job_S(Job Subscriber)
113-
CPS_PSI_P(PSI Publisher)
114-
CPS_PSI_S(PSI Subscriber)
115-
CF_Job(Job Function Service)
116-
CF_PSI(PSI Function Service)
117-
GAPI_PSI(PageSpeed Insights API)
118-
119-
Job -->|Push| CPS_Job_P
120-
CPS_Job_S -->|Push| CF_Job
121-
CF_Job -->| 并发 HTTP | CPS_PSI_P
122-
CPS_PSI_S -->| 并发 Push | CF_PSI
123-
CF_PSI -->| 并发 HTTP Request | GAPI_PSI
124-
125-
subgraph Cloud Scheduler
126-
Job
127-
end
128-
129-
subgraph Cloud Pub/Sub
130-
subgraph Job Pub/Sub
131-
CPS_Job_P --> CPS_Job_S
132-
end
133-
134-
subgraph PSI Pub/Sub
135-
CPS_PSI_P --> CPS_PSI_S
136-
end
137-
end
138-
139-
subgraph Cloud Functions
140-
CF_Job
141-
CF_PSI
142-
end
143-
144-
subgraph Google APIs
145-
GAPI_PSI
146-
end
147-
```
148-
149108
#### 2.2 Cloud Scheduler
150109

151110
Cloud Scheduler 是 GCP 的一项全托管式企业级 cron 作业调度服务。支持 App Engine、Cloud Pub/Sub 和任意 HTTP 端点,允许作业触发 Compute Engine、Google Kubernetes Engine 和本地资源。

PageSpeedInsights/psi.mermaid

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
graph TB
2+
Job(定时作业任务)
3+
CPS_Job_P(Job Publisher)
4+
CPS_Job_S(Job Subscriber)
5+
CPS_PSI_P(PSI Publisher)
6+
CPS_PSI_S(PSI Subscriber)
7+
CF_Job(Job Function Service)
8+
CF_PSI(PSI Function Service)
9+
GAPI_PSI(PageSpeed Insights API)
10+
11+
Job -->|Push| CPS_Job_P
12+
CPS_Job_S -->|Push| CF_Job
13+
CF_Job -->| 并发 HTTP | CPS_PSI_P
14+
CPS_PSI_S -->| 并发 Push | CF_PSI
15+
CF_PSI -->| 并发 HTTP Request | GAPI_PSI
16+
17+
subgraph Cloud Scheduler
18+
Job
19+
end
20+
21+
subgraph Cloud Pub/Sub
22+
subgraph Job Pub/Sub
23+
CPS_Job_P --> CPS_Job_S
24+
end
25+
26+
subgraph PSI Pub/Sub
27+
CPS_PSI_P --> CPS_PSI_S
28+
end
29+
end
30+
31+
subgraph Cloud Functions
32+
CF_Job
33+
CF_PSI
34+
end
35+
36+
subgraph Google APIs
37+
GAPI_PSI
38+
end

0 commit comments

Comments
 (0)