[🚀 Feature]: [dotnet] [bidi] opt-in parallel event handler execution
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 45/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- csharp
調査の方向性
Start by locating the .NET BiDi event subscription implementation and the IEventSource<T> and IBiDi interfaces named in the proposed API. Trace how subscriptions invoke handlers and drain work during disposal, then check the related subscription tests. Done means an opt-in concurrency setting or equivalent API is implemented with the stated ordering, failure propagation, and disposal behavior clarified and covered by tests.
索引モデルが issue の本文から書いたものです。
説明
Description
BiDi event handlers run serially per subscription: one worker awaits each handler before taking the next event. Good default (ordered, isolated, drains on dispose), but throughput is bounded by handler latency.
50 console.log events with a 100 ms handler take ~5 s; with 8 concurrent handlers ~0.7 s.
Users wanting concurrency today must fire-and-forget inside the handler (losing failure propagation and drain-on-dispose) or write a custom StreamAsync() consumer.
Have you considered any alternatives or workarounds?
Opt in to invoke handlers parallelizable.
Proposed API
public sealed class SubscribeOptions
{
public int MaxConcurrency { get; set; } = 1;
}
// new overloads on IEventSource<T> (and IBiDi)
Task<ISubscription> SubscribeAsync(Func<T, Task> handler, SubscribeOptions options, CancellationToken ct = default);
Task<ISubscription> SubscribeAsync(Action<T> handler, SubscribeOptions options, CancellationToken ct = default);
Or something like chaining handlers:
source.WithParallel(8).SubscribeAsync(handler)
- 主要言語
- Java
- スター
- 34.6k
- フォーク
- 8.7k
- 平均マージ
- 1日 23時間
- マージ済み PR(30日)
- 86
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
SeleniumHQ/selenium のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
SeleniumHQ/selenium#18323 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
SeleniumHQ/selenium#17843 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
[java] DriverFinderTest property fixture doesn't clear/restore selenium.webdriver.verbose再び着手できるかも @stefanpoia が 25 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
SeleniumHQ/selenium#17836 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
A-needs-triaging C-java D-chrome D-firefox I-defect OS-linux
難易度 4/5 1〜2日 初心者へのやさしさ 53/100
SeleniumHQ/selenium#18324 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[Bug]: [py] Generated bidi.UserAgentClientHints is empty — inline CDDL params drop the command対応中かも @titusfortner が 3 日前に担当しました。 オープンC-py OS-mac
SeleniumHQ/selenium#18312 · 担当者 2 名 ·
メンテナーはふだん 1 日以内に返信
SeleniumHQ/selenium の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
btraceio/jafar#228 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
jenkinsci/git-client-plugin#1807 ·
-
area-templates triage:bot-seen triage:needs-human
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
microsoft/aspire#22356 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
[Coral-Hive] locate() is typed as STRING instead of INT, so view schemas report a string columnオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
apache/flink-agents#1395 ·
メンテナーはふだん 1 日以内に返信