Summary
In this chapter, we discussed some of the design patterns widely used in applications built on Microsoft Orleans. We learned how to build a distributed cache in Orleans. You now know how to perform batch message processing with the Dispatcher pattern. We have also learned how we can use the Reduce pattern with Cadence to provide a hierarchical structure for aggregating the data stored in multiple grains.
There are more interesting patterns documented by the Orleans community. We strongly recommend referring to the Orleans contributor documentation here: https://github.com/OrleansContrib/DesignPatterns.
We have learned how to build a distributed application such as Distel using Microsoft Orleans. Now it is time to deploy it on the Azure cloud platform. In the next chapter, we will learn how to deploy the Orleans application in Azure Kubernetes Service.