Book Image

Distributed .NET with Microsoft Orleans

By : Bhupesh Guptha Muthiyalu, Suneel Kumar Kunani
Book Image

Distributed .NET with Microsoft Orleans

By: Bhupesh Guptha Muthiyalu, Suneel Kumar Kunani

Overview of this book

Building distributed applications in this modern era can be a tedious task as customers expect high availability, high performance, and improved resilience. With the help of this book, you'll discover how you can harness the power of Microsoft Orleans to build impressive distributed applications. Distributed .NET with Microsoft Orleans will demonstrate how to leverage Orleans to build highly scalable distributed applications step by step in the least possible time and with minimum effort. You'll explore some of the key concepts of Microsoft Orleans, including the Orleans programming model, runtime, virtual actors, hosting, and deployment. As you advance, you'll become well-versed with important Orleans assets such as grains, silos, timers, and persistence. Throughout the book, you'll create a distributed application by adding key components to the application as you progress through each chapter and explore them in detail. By the end of this book, you'll have developed the confidence and skills required to build distributed applications using Microsoft Orleans and deploy them in Microsoft Azure.
Table of Contents (17 chapters)
1
Section 1 - Distributed Applications Architecture
4
Section 2 - Working with Microsoft Orleans
10
Section 3 - Building Patterns in Orleans
13
Section 4 - Hosting and Deploying Orleans Applications to Azure

Chapter 9: Design Patterns in Orleans

In the last chapter, you learned about a few advanced concepts in Orleans, such as streaming and heterogeneous silos. You may not use them in every application but they will likely be used when you really get into the ecosystem. Design patterns represent the best practices used by experienced developers in a given field.

A design pattern is a generic, reusable solution to a common software design problem that we face during development. It's not something you'll utilize right away in your application. It is a template for how to solve a problem that can be used in many different solutions. You might have referenced design patterns in various situations. The implementations of design patterns may vary with language and technology.

In this chapter, we will learn about some of the design patterns published by Orleans contributors:

  • Distributed cache
  • Batch message processing with Dispatcher
  • Cadence with timers
  • Aggregating...