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

13. Updating Grains

Richard Astbury1  
(1)
Woodbridge, UK
 

Over time, we’ll want to update our grains in response to new requirements or bug fixes; in this chapter, we’ll discuss a few approaches to this and explore how to control the behavior of clusters containing a mixture of grains versions.

Updating Grains Logic

Updating the logic inside your grains is straightforward. Assuming that the grain’s interface is unchanged and the old and new versions of the grains are compatible, you can upgrade the silos running in the cluster.

You can do this either by standing up a new “staging” ...

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.