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

Updates to the architecture Registry section, and other misc #233

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

ghost
Copy link

@ghost ghost commented Sep 22, 2022

This is triggered by the conversation at
https://cloud-native.slack.com/archives/CHSKJ4849/p1663793722639479

The main improvement from this patch is better clarity on the
different types of registry, and how other components interact with
the registry.

* Make the architecture venn diagram less enormous. IMHO it doesn't
really say much, but this way it doesn't take up most of the page
above the fold.
* There used to be two "A Network Service is..." sentences. I removed
one.
* Other text tweaks.

Signed-off-by: Toby Cabot <[email protected]>
This is triggered by the conversation at
https://cloud-native.slack.com/archives/CHSKJ4849/p1663793722639479

The main improvement from this patch is better clarity on the
different types of registry, and how other components interact with
the registry.

Signed-off-by: Toby Cabot <[email protected]>
While I was editing the architecture page to update the Registry
section I noticed some other fixes.

Signed-off-by: Toby Cabot <[email protected]>
@ghost ghost force-pushed the registry-updates branch from 3202791 to 4290310 Compare September 22, 2022 22:33
@ghost
Copy link
Author

ghost commented Sep 22, 2022

...and I've now set up magit to add "signed-off-by" by default so hopefully there will be less force-pushing in my life.

@edwarnicke
Copy link
Member

@acnodal-tc Overall this is a vast improvement. I added a few comments adding color. I look forward to seeing what you will do with them :)

* Link to the Registry gRPC proto to indicate that the current
implementations aren't the only possible ones.

Also a few other improvements:

* Link to cmd-registry source repos
* Rearrange Registry sections to better match the "Key Concepts" flow

Signed-off-by: Toby Cabot <[email protected]>
... and use "gRPC" on this page since that's how Google spells it.

Signed-off-by: Toby Cabot <[email protected]>
Moved the Endpoints section higher so we define both Clients and
Endpoints before vWires since vWires depend on the other concepts.

Signed-off-by: Toby Cabot <[email protected]>
@ghost
Copy link
Author

ghost commented Sep 25, 2022

I pushed a few updates that hopefully help.

Copy link
Member

@denis-tingaikin denis-tingaikin left a comment

Choose a reason for hiding this comment

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

@edwarnicke Do you have any comments on this?


A {{<color "#008A00" >}}Network Service Endpoint{{< /color >}} ({{<color "#008A00" >}}NSE{{< /color >}} or {{<color "#008A00" >}}Endpoint{{< /color >}}) provides one or more Network Services. It registers with the registry a list
of Network Services (by name) that it provides, and the 'destination labels' it is advertising for each Network Service.
Clients and Endpoints don't connect directly to the Registry; they connect to the [Network Service Manager](https://github.com/networkservicemesh/cmd-nsmgr) which acts as a proxy for the registry. This simplifies NSM's internal data flows since Clients and Endpoints need to connect to the Manager anyway.
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
Clients and Endpoints don't connect directly to the Registry; they connect to the [Network Service Manager](https://github.com/networkservicemesh/cmd-nsmgr) which acts as a proxy for the registry. This simplifies NSM's internal data flows since Clients and Endpoints need to connect to the Manager anyway.
In K8s Clients and Endpoints don't connect directly to the Registry; they connect to the [Network Service Manager](https://github.com/networkservicemesh/cmd-nsmgr) which acts as a proxy for the registry. This simplifies NSM's internal data flows since Clients and Endpoints need to connect to the Manager anyway.

Copy link
Member

Choose a reason for hiding this comment

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

It might make more sense to move this into the K8s tabs, as its a feature of the K8s implementation of NSM, not a fundamental part of the base architecture.

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.

3 participants