RPC calls to multiple services with round robin DNS lookup
未關閉
- 主要語言
- Python
- 星號
- 431
- 分支
- 57
- PR 合併指標
- 30 天內沒有已合併 PR
描述
When I do something like `await rpc.connect_rpc(connect='tcp://rpc-service:5555')`, where "rpc-service" is a round robin A record with multiple addresses, can I expect the client to choose a different address every time it is initialized?
From experimentation it seems that this is not the case, but I might be doing something wrong.
貢獻指南
研究方向
Start by tracing the connect_rpc(connect='tcp://rpc-service:5555') entry point and checking how hostname resolution is handled during client initialization. Compare that behavior with the expected round-robin A-record behavior and document or reproduce the result; done means the initialization behavior is clearly established and any required change is scoped.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- python
- 領域
- networking
- Issue 類型
- 功能
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 20/100