Publish-Subscribe is a useful pattern for decoupling code both in terms of separation of concerns and temporal coupling. Pub-Sub is a pattern and is used extensively in distributed systems and microservice architectures. Orleans natively supports Pub-Sub implemented as Orleans Streams.
Like the Actors, Streams in Orleans are virtual. This means they do not need to be explicitly created or disposed, and can be used at any time. They also work symmetrically inside a silos using a grains or outside a silos as an Orleans Client. ...