dotnet / dotnet/docs

[New article]: Orleans grain migration

Open
#42,008 0 comments 0 reactions 1 assignee Claimed by @ReubenBond View on GitHub
:watch: Not Triaged
Dominant language
No language data
Stars
4.8k
Forks
6.1k
Avg merge
19h 10m
Merged PRs (30d)
268

Description

### Proposed topic or title

Grain migration

### Location in table of contents.

Grains

### Reason for the article

Grain migration in Orleans needs documentation
Reuben should write this.

### Article abstract

Document the grain migration features in Orleans:
- The feature allows grains to move from one host to another without losing messages or needing to reload state from storage
- The migration process & how migration works (eg, providing 'hints' to a placement provider via `RequestContext` with `IPlacementProvider.PlacementHintKey`)
- MigrateOnIdle, lifecycle hooks, grain state migration (include that it requires that state is serializable by Orleans' serializer)
- Activation Repartitioning should be mentioned or linked from here (document how `[Immovable]` disables repartitioning for grains of that type)

### Relevant searches

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.