質問編集履歴
2
追記の追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -427,3 +427,37 @@
|
|
427
427
|
}
|
428
428
|
|
429
429
|
```
|
430
|
+
|
431
|
+
## 追記
|
432
|
+
|
433
|
+
公式サイト([該当ページ](https://www.envoyproxy.io/learn/backpressure))をチェックしてみたところ下記の様な記述がありました。
|
434
|
+
|
435
|
+
```
|
436
|
+
|
437
|
+
Two quick definitions, used by Envoy:
|
438
|
+
|
439
|
+
|
440
|
+
|
441
|
+
Upstream connections are the service Envoy is initiating the connection to.
|
442
|
+
|
443
|
+
Downstream connections are the client that is initiating a request through Envoy.
|
444
|
+
|
445
|
+
```
|
446
|
+
|
447
|
+
```
|
448
|
+
|
449
|
+
Upstream Connection Closed
|
450
|
+
|
451
|
+
What it is: When the upstream closes the connection before the response is finished sending, Envoy cannot send a complete response to the downstream.
|
452
|
+
|
453
|
+
|
454
|
+
|
455
|
+
Result: This depends on whether the downstream has started receiving data.
|
456
|
+
|
457
|
+
|
458
|
+
|
459
|
+
If it has not (i.e. the upstream disconnects quickly), the downstream connection is reset.
|
460
|
+
|
461
|
+
If it has, the downstream receives an HTTP 503 and the body text “upstream connect error or disconnect/reset before headers”
|
462
|
+
|
463
|
+
```
|
1
コードの追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -48,7 +48,7 @@
|
|
48
48
|
|
49
49
|
```
|
50
50
|
|
51
|
-
```
|
51
|
+
```Docker
|
52
52
|
|
53
53
|
// server
|
54
54
|
|
@@ -74,7 +74,7 @@
|
|
74
74
|
|
75
75
|
```
|
76
76
|
|
77
|
-
```
|
77
|
+
```Docker
|
78
78
|
|
79
79
|
// envoy
|
80
80
|
|
@@ -92,7 +92,7 @@
|
|
92
92
|
|
93
93
|
```
|
94
94
|
|
95
|
-
```
|
95
|
+
```Docker
|
96
96
|
|
97
97
|
// docker-compose.yml
|
98
98
|
|
@@ -190,7 +190,7 @@
|
|
190
190
|
|
191
191
|
```
|
192
192
|
|
193
|
-
```
|
193
|
+
```Envoy
|
194
194
|
|
195
195
|
// envoy.yaml
|
196
196
|
|
@@ -308,7 +308,7 @@
|
|
308
308
|
|
309
309
|
```
|
310
310
|
|
311
|
-
```
|
311
|
+
```TypeScript
|
312
312
|
|
313
313
|
// Signup.tsx
|
314
314
|
|
@@ -380,7 +380,7 @@
|
|
380
380
|
|
381
381
|
```
|
382
382
|
|
383
|
-
```
|
383
|
+
```ProtocolBuffers
|
384
384
|
|
385
385
|
// web_app_service.proto
|
386
386
|
|
@@ -396,7 +396,7 @@
|
|
396
396
|
|
397
397
|
```
|
398
398
|
|
399
|
-
```
|
399
|
+
```ProtocolBuffers
|
400
400
|
|
401
401
|
// messages.proto
|
402
402
|
|
@@ -425,3 +425,5 @@
|
|
425
425
|
string user_pw = 5;
|
426
426
|
|
427
427
|
}
|
428
|
+
|
429
|
+
```
|