© 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_14

14. Optimization

Richard Astbury1  
(1)
Woodbridge, UK
 

We have covered all the basic features of Orleans, but to get some higher throughput for some scenarios, there are a few optimizations and advanced features we can take advantage of. Some of these optimizations affect the guarantees that Orleans offers, so they must be used with care as using a feature incorrectly may result in unpredictable behavior.

Stateless Workers

We already made use of Stateless Workers previously in this book, but for completeness, we’ll include them here too.

Orleans guarantees that while under normal ...

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.