Skip to content

[pubsub] Prioritise internal subscribers (e.g. reactor) over external (e.g. RPC) #847

@melekes

Description

@melekes

Right now when we get the msg, we iterate over map (of queries -> subscribers). If there are 1000 subscribers, consensus reactor could receive his msg last.

Ways to solve this:

  1. return back old events system for internal events and proxy events to the new pubsub
  2. add some priority/sorting to the new pubsub
  3. add special kind of subscribers (VIP) to the new pubsub

Metadata

Metadata

Assignees

Labels

C:rpcComponent: JSON RPC, gRPC

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions