Provide notification on call when transport is shut down
- 主要言語
- Java
- スター
- 12.1k
- フォーク
- 4k
- 平均マージ
- 2日 17時間
- マージ済み PR(30日)
- 37
説明
This can apply on server-side when the server as a whole is shutting down and also when MAX_CONNECTION_AGE is triggered for a particular transport. It would just be a notification to allow the application to perform a graceful call closure.
It'd also be useful on client-side, especially on mobile (#3688), when connections are being migrated.
There may be concerns of both the client and server reacting at the same time. It should also be noted that in some cases only one side may receive the notification (i.e., when a L7 load balancer is involved).
I don't think any language provides this today. If it is deemed useful, this should be a cross-language feature.
コントリビューションガイド
調査の方向性
ソースファイルやテストは指定されていません。まず Java のトランスポートのシャットダウンと接続経過時間に関するパスを確認し、次にクライアントとサーバーのライフサイクル処理、および関連するモバイル issue #3688 を比較してください。完了の条件は、同時シャットダウン、一方向の配信、クロスランゲージサポートを考慮した、確定した通知契約です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java
- 領域
- api, backend, distributed-systems
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 20/100