[TRACKING ISSUE] TPC default to 1 connection
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 20/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
調査の方向性
詳細な実装コンテキストについては、まずリンク先の Java 側の PR を確認し、その後、Python クライアントの TPC 接続処理と ClientTpcConfig のサポートを調査します。Python クライアントがデフォルトで 1 つの TPC 接続を使用しつつ、issue に記載された設定済みの接続数を指定できるようになれば完了です。
索引モデルが issue の本文から書いたものです。
説明
The tracking issue for the Java side PR.
See https://github.com/hazelcast/hazelcast/pull/25871 for details.
Before this PR, when a TPC aware client connects to a TPC enabled server, the server sends the list of TPC ports it can connect to. So if the server has 64 TPC threads, it will open 64 server sockets and the client will make 64 connections.
The problem is that having many connections, leads to smaller and more packets which causes additional processing overhead and can run into packets per seconds limits (e.g. on AWS). And the performance penalty of the PPS limit is a lot higher than the penalty of context switching.
This PR changes that. By default, a client will now connect to 1 random port from the TPC port list. The Hazelcast member will then route the request to the right core (the same as with classic networking). The number of ports can be configured through the ClientTpcConfig object and one can restore the behavior of connecting to all TPC ports or a subset.
- 主要言語
- Python
- スター
- 115
- フォーク
- 78
- 平均マージ
- 2日 23時間
- マージ済み PR(30日)
- 2
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
hazelcast/hazelcast-python-client のほかの issue
-
Type: Test-Failure
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
Type: Test-Failure
難易度 3/5 1〜2日 初心者へのやさしさ 52/100
-
asyncio Type: Test-Failure
難易度 4/5 3〜5日 初心者へのやさしさ 38/100
-
asyncio to-jira Type: Test-Failure
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
hazelcast/hazelcast-python-client#761 · コメント 1 件 ·
-
asyncio to-jira Type: Test-Failure
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
hazelcast/hazelcast-python-client#760 · コメント 1 件 ·
hazelcast/hazelcast-python-client の issue をすべて見る
似ている issue
-
bug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
aws-samples/sample-spec-driven-presentation-maker#648 ·
メンテナーはふだん 1 日以内に返信
-
firestore: enable live window.yaml pipeline system tests once add_window_fields is in productionオープン
難易度 1/5 1時間未満 初心者へのやさしさ 64/100
googleapis/google-cloud-python#19115 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
メンテナーはふだん 3 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Feyisara2108/stellargive#1377 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信