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

on-demand lazy loading for S/RDS #10641

Closed
stevenzzzz opened this issue Apr 3, 2020 · 5 comments
Closed

on-demand lazy loading for S/RDS #10641

stevenzzzz opened this issue Apr 3, 2020 · 5 comments
Labels
api/v3 Major version release @ end of Q3 2019 area/xds help wanted Needs help!

Comments

@stevenzzzz
Copy link
Contributor

stevenzzzz commented Apr 3, 2020

Issue Template

Title: * On demand S/RDS

Description:

Issue for tracking on-demand SRDS implementation.
to make better use of resources (RAM, CPU), make RDS on-demand from SRDS.An example use scenario is that in a MT proxy, many long-tail route tables arent that active, in stead of fetching and storing these route tables via SRDS, we can put them into a "secondary tier", and only fetch the route table when there are such requests hitting the proxy.

[optional Relevant Links:]

issue for on-demand routes #2500

@htuch htuch added api/v3 Major version release @ end of Q3 2019 area/xds help wanted Needs help! labels Apr 3, 2020
@htuch
Copy link
Member

htuch commented Apr 3, 2020

@stevenzzzz I've tagged this as an open xDS/API issue, but could you elaborate a little more on this one for folks who don't have the same context that we share?

@stevenzzzz
Copy link
Contributor Author

sure, what's missing here is to make on-demand RDS work w/ the SRDS: depends on how we design it, we could either:

  1. when we have a scope-key and there is no scope defined for it, fire a on-demand SRDS request to management server to get back the scopedrouteconfiguration for that key, then issue a RDS request.
  2. or since SRDS is light weight enough, we always send SotW for SRDS, in this case, if scope is not found, it's a 404. if corresponding Route table is not found, make the existing on-demand RDS to work with SRDS.

I think likely we want to pick option 2.

@htuch
Copy link
Member

htuch commented Apr 5, 2020

If you anticipate SRDS SoTW not being a scaling bottleneck, then I agree that (2) makes the most sense. One thing to keep in mind is that there is not a full blown existing on-demand RDS, rather we have on-demand VHDS, which is most of what is needed for on-demand RDS but there is a missing last mile there. CC @dmitri-d

@stevenzzzz
Copy link
Contributor Author

stevenzzzz commented Apr 6, 2020 via email

@mattklein123
Copy link
Member

+1 for building this into the on-demand VHDS filter/support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api/v3 Major version release @ end of Q3 2019 area/xds help wanted Needs help!
Projects
None yet
Development

No branches or pull requests

3 participants