actor-framework / actor-framework/actor-framework

Add an MPMC mechanism for connecting multiple input and output flows

オープン
#2,013 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
C++
スター
3.4k
フォーク
572
平均マージ
3日 14時間
マージ済み PR(30日)
3

説明

Through a combination of a `multicaster>`, and the `merge` and `share` operators, one is able to create a dynamic multi-producer, multi-consumer API for observables that can connect or disconnect at any time on either end. (The only limitation is that this can have at most eight producers, see #2012.)

However, this is very inconvenient to set up and get right for something that I would consider a basic building block in a very decoupled system where actors can produce messages and others can choose to consume them.

I think this would be much better expressed through a mechanism that is tailor-made for this, e.g., an MPMC buffer resource with an API similar to the existing SPSC buffer resource.

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

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

評価

この issue はまだ評価されていません。

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

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