© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
R. AstburyMicrosoft Orleans for Developershttps://doi.org/10.1007/978-1-4842-8167-3_9

9. Streams

Richard Astbury1  
(1)
Woodbridge, UK
 

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. ...

Get Microsoft Orleans for Developers: Build Cloud-Native, High-Scale, Distributed Systems in .NET Using Orleans now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.