Skip to content

docs(grains): document distributed collection patterns - #10736

Open
ReubenBond wants to merge 5 commits into
dotnet:mainfrom
ReubenBond:rb-distributed-collections-orleans
Open

docs(grains): document distributed collection patterns#10736
ReubenBond wants to merge 5 commits into
dotnet:mainfrom
ReubenBond:rb-distributed-collections-orleans

Conversation

@ReubenBond

@ReubenBond ReubenBond commented Aug 21, 2026

Copy link
Copy Markdown
Member

Problem

Orleans users have repeatedly asked how to model collections of grains, including membership, querying, filtering, sorting, paging, and bulk operations. The documentation describes grain identity, persistence, transactions, and response streaming separately but does not connect them into application guidance for collection-shaped workloads.

Solution

Add a how-to guide covering bounded owner catalogs, deterministic partitioned registries and indexes, external query stores, consistency boundaries, continuation-token paging, response streaming, and bounded fan-out. Link the guide from the how-to index, grain development overview, persistence documentation, and navigation.

Rationale

Orleans addresses individual logical grains. Applications define collection membership and query semantics using the storage and consistency model appropriate for their workload. Documenting patterns built from existing Orleans primitives gives users concrete guidance without making product or API design decisions for general-purpose distributed collections or queries.

Fixes #1412

Copilot AI lite review requested due to automatic review settings August 21, 2026 07:36

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new conceptual documentation guide which explains how Orleans applications can model collections of grains (membership, partitioning, querying, paging, streaming, and consistency boundaries) and wires that guide into the existing grains documentation navigation.

Changes:

  • Introduces a new “Model collections of grains” concept article describing common distributed collection patterns and tradeoffs in Orleans.
  • Links the new guide from the grains overview page and the grain persistence overview to connect related concepts.
  • Adds the new page to the docs table of contents under the “Grains” section.
Show a summary per file
File Description
docs/site/src/content/docs/toc.yml Adds the new “Model collections of grains” page to the Grains navigation.
docs/site/src/content/docs/grains/model-grain-collections.md New conceptual guide describing collection modeling patterns, consistency boundaries, paging, and response streaming, with example links.
docs/site/src/content/docs/grains/index.md Links to the new guide from the “advanced features” list and updates ms.date.
docs/site/src/content/docs/grains/grain-persistence/index.md Cross-links to the new guide from the persistence overview and updates ms.date.

Review details

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

  • Files reviewed: 4/4 changed files
  • Comments generated: 0
  • Review effort level: Lite

Copilot AI review requested due to automatic review settings August 21, 2026 10:09

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review details

  • Files reviewed: 4/4 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

Copilot AI review requested due to automatic review settings August 21, 2026 14:33
@ReubenBond
ReubenBond force-pushed the rb-distributed-collections-orleans branch from 10f6f54 to 99193e0 Compare August 21, 2026 14:33

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review details

  • Files reviewed: 4/4 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

Copilot AI review requested due to automatic review settings August 21, 2026 15:46

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review details

  • Files reviewed: 4/4 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

Copilot AI review requested due to automatic review settings August 21, 2026 17:07
@ReubenBond
ReubenBond force-pushed the rb-distributed-collections-orleans branch from 208b194 to 4df241a Compare August 21, 2026 17:07

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review details

  • Files reviewed: 5/5 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

Copilot AI review requested due to automatic review settings August 22, 2026 07:13
@ReubenBond
ReubenBond force-pushed the rb-distributed-collections-orleans branch from 4df241a to 0138df5 Compare August 22, 2026 07:13

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review details

  • Files reviewed: 5/5 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

Copilot AI review requested due to automatic review settings August 23, 2026 07:13
@ReubenBond
ReubenBond force-pushed the rb-distributed-collections-orleans branch from 0138df5 to 0f5ba4a Compare August 23, 2026 07:13

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review details

  • Files reviewed: 5/5 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

@github-actions

github-actions Bot commented Aug 23, 2026

Copy link
Copy Markdown
Contributor

Code coverage

77.63% line coverage - 97,597 / 125,722 lines

Coverage details

Copilot AI review requested due to automatic review settings August 24, 2026 07:12
@ReubenBond
ReubenBond force-pushed the rb-distributed-collections-orleans branch from 0f5ba4a to c7dc559 Compare August 24, 2026 07:12

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review details

  • Files reviewed: 5/5 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

@ReubenBond
ReubenBond requested a review from halter73 August 24, 2026 15:11
@ReubenBond
ReubenBond enabled auto-merge August 24, 2026 15:11
@ReubenBond
ReubenBond removed the request for review from halter73 August 24, 2026 15:31
@ReubenBond
ReubenBond marked this pull request as draft August 24, 2026 15:32
auto-merge was automatically disabled August 24, 2026 15:32

Pull request was converted to draft

@ReubenBond
ReubenBond marked this pull request as ready for review August 25, 2026 10:08
@ReubenBond
ReubenBond enabled auto-merge August 25, 2026 10:08
Copilot AI review requested due to automatic review settings August 25, 2026 10:15

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review details

  • Files reviewed: 5/5 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

@ReubenBond
ReubenBond disabled auto-merge August 26, 2026 07:06
Copilot AI review requested due to automatic review settings August 26, 2026 07:16
@ReubenBond
ReubenBond force-pushed the rb-distributed-collections-orleans branch from adfe6b7 to bc62701 Compare August 26, 2026 07:16
@ReubenBond
ReubenBond enabled auto-merge August 26, 2026 07:16

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review details

  • Files reviewed: 5/5 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Distributed collections in Orleans

2 participants