SSLSocket.read does a GIL round-trip for every 16KB TLS record

オープン
#81,536 コメント 14 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
15/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
python

調査の方向性

まず SSLSocket.read と、PRs #25478、#31492、gh-102214 における関連する作業を確認します。それらの議論と実装を、報告されているレコードごとの GIL ラウンドトリップと比較します。完了の条件は、issue のパフォーマンス問題が解決され、関連する動作が引き続き正しいことです。

索引モデルが issue の本文から書いたものです。

説明

3.12 performance topic-SSL
BPO 37355
Nosy @warsaw, @pfmoore, @tiran, @tjguk, @benjaminp, @bitdancer, @njsmith, @dimaqq, @zware, @1st1, @zooba, @Safihre, @pablogsal, @hashbrowncipher, @jakirkham
PRs
  • python/cpython#25478
  • python/cpython#31492
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = None
    created_at = <Date 2019-06-20.18:42:49.267>
    labels = ['expert-SSL', '3.11', 'performance']
    title = 'SSLSocket.read does a GIL round-trip for every 16KB TLS record'
    updated_at = <Date 2022-03-14.15:49:20.009>
    user = 'https://github.com/hashbrowncipher'
    

    bugs.python.org fields:

    activity = <Date 2022-03-14.15:49:20.009>
    actor = 'vstinner'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['SSL']
    creation = <Date 2019-06-20.18:42:49.267>
    creator = 'josnyder'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 37355
    keywords = ['patch']
    message_count = 12.0
    messages = ['346156', '379904', '391401', '392584', '392585', '392882', '392883', '396780', '413900', '415035', '415094', '415095']
    nosy_count = 16.0
    nosy_names = ['barry', 'paul.moore', 'christian.heimes', 'tim.golden', 'benjamin.peterson', 'r.david.murray', 'njs', 'Dima.Tisnek', 'zach.ware', 'yselivanov', 'steve.dower', 'Safihre', 'pablogsal', 'Matthew Rocklin', 'josnyder', 'jakirkham']
    pr_nums = ['25478', '31492']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'performance'
    url = 'https://bugs.python.org/issue37355'
    versions = ['Python 3.11']
    

    Linked PRs
    • gh-102214
    主要言語
    Python
    スター
    77.2k
    フォーク
    36k
    平均マージ
    1日 9時間
    マージ済み PR(30日)
    558

    コントリビューションガイド

    コントリビューションガイドを開く

    はじめの一歩

    1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
    2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
    3. リポジトリをフォークし、ブランチを切って変更します。
    4. issue 番号を参照したプルリクエストを送ります。

    python/cpython のほかの issue

    python/cpython の issue をすべて見る

    似ている issue

    Python の issue をもっと見る

    新しい issue をメールで受け取る

    初心者向けの GitHub issue を短くまとめたダイジェスト。