Introducing Microsoft Orleans: Implementing Cloud-Native Services with a Virtual Actor Framework
- 2h 16m
- Thomas Nelson
Welcome to Orleans, a virtual actor framework from Microsoft that allows a single developer to create immensely scalable, available applications while maintaining a high throughput. This guide is designed to give you a foundational understanding of Orleans, an overview of its implementations, and plenty of hands-on coding experience. Side-by-side monolithic and microservice patterns alongside Orleans' framework features are also discussed, to help readers without an actor model background understand how they can enhance applications. Author Nelson’s approach is to introduce patterns as needed for business requirements, including monolithic microservices and to convert monolithic to microservices, in order to keep a microservice from growing into a monolithic application. Orleans is a good choice for either of these scenarios as the next step to build your backend services and reduce unnecessary orchestration, overhead, and tooling.
The Orleans framework was designed to handle tedious overhead, allowing the developer to focus on the solution. You will learn how Orleans can support billions of virtually parallel transactions while sustaining low latency and high availability. In addition, you will glimpse under the hood at Orleans to discover its useful attributes. All key learning points include hands-on coding examples to reinforce understanding.
This book goes beyond what Orleans is to explain where it fits within the realm of development. You will gain an in-depth understanding to build a foundation for future growth.
What You Will Learn
- Understand how Orleans can benefit your monolithic and/or microservice applications
- Gain a brief overview of actor models and how they relate to Orleans
- Observe the design patterns and how Orleans can simplify or reduce tooling requirements
- Know the pros and cons of microservices and Orleans to determine the best course of action based on the needs of an application
- Discover Orleans' design patterns and practices, including life cycle, messaging guarantees, cluster management, streams, load balancing, and more
- Build your first Orleans' application; build base knowledge of application structure, unit testing, dashboard, scheduled events
This book is for developers. A basic understanding of .NET development and an understanding of service concepts is helpful. Readers will need a connection to download Nuget packages and a code editor (Community Edition Visual Studio or VS Code).
About the Author
Thomas Nelson, a Lead Cloud Architect and a Microsoft Certified Azure Solutions Architect Expert, has worked in several technical fields spanning from the graphic design of websites to development and architecture. During his 10 years of backend development, his interest has gravitated towards DevSecOps and automation. He enjoys teaching others and is often found at local meetups presenting various technologies, patterns, and software examples. He is thrilled to be using Orleans and considers it one of those wonderful and valuable frameworks that should be in the tool kit of every architect and backend developer. Also, he is pleased to have graduated from monolithic and microservice systems to build cloud-native solutions, including actor model backends. He has an associate's degree in Graphic Design, bachelor's degree in Computer Information Systems, and is currently attending Harvard Extension pursuing his master's degree in Information Management Systems.
In this Book
A Primer on Microsoft Orleans and the Actor Model
Introducing Microsoft Orleans
Enhancing Current Designs
Timers and Reminders
The Orleans Dashboard