Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Internal] Documentation: Adds SDK and Gateway Sequence Diagram. #4287

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

kundadebdatta
Copy link
Member

@kundadebdatta kundadebdatta commented Jan 29, 2024

Pull Request Template

Description

The scope of this PR is to create a sequence diagram to capture the compute/ routing gateway interactions with the CosmosClient configured in Direct mode.

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)

Closing issues

To automatically close an issue: closes #IssueNumber

@kundadebdatta kundadebdatta self-assigned this Jan 29, 2024

The scope of this sequence diagram is to capture the compute/ routing gateway interactions with the `CosmosClient` configured in `Direct` mode.

## Sequence Diagram to Read Database and Collection Information.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
## Sequence Diagram to Read Database and Collection Information.
## Sequence Diagram to Read Database and Container Information.

participant E as GatewayAddressCache <br> [v3 Code]
participant F as GatewayStoreModel <br> [v3 Code]
participant G as CosmosHttpClient <br> [v3 Code]
participant H as Routing Gateway <br> [Deployed on each Region]
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
participant H as Routing Gateway <br> [Deployed on each Region]
participant H as Gateway <br> [Deployed on each Region]

G-->>F: Collection <br> Metadata Information
F-->>C: Collection <br> Metadata Information
C-->>A: Collection <br> Metadata Information
```
Copy link
Member

Choose a reason for hiding this comment

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

This is not just read database and container, this is client initialization, right?

C-->>A: Collection <br> Metadata Information
```

## Sequence Diagram to Read PkRange and Address Information.
Copy link
Member

Choose a reason for hiding this comment

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

When do these happen? Should we explain? Or link to the docs?

Copy link
Member

Choose a reason for hiding this comment

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Reviewer_Waiting
Development

Successfully merging this pull request may close these issues.

2 participants