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

server api without linearization #376

Closed
wants to merge 2 commits into from

Conversation

fxposter
Copy link
Contributor

@fxposter fxposter commented Dec 6, 2020

@jyotimahapatra @kyessenov Followup of #375

Do you envision this to have any problems for clients to migrate to? Let's put linearization aside for now.

@fxposter fxposter marked this pull request as draft December 6, 2020 00:29
@kyessenov
Copy link
Contributor

@fxposter @jyotimahapatra I think the path forward is to test small changes like this in xds-relay staging, and try to instrument code if something goes wrong again.

@jyotimahapatra
Copy link
Contributor

jyotimahapatra commented Dec 8, 2020

I think the path forward is to test small changes like this in xds-relay staging, and try to instrument code if something goes wrong again. I can try out any experimental changes in our staging environment.

@fxposter
Copy link
Contributor Author

fxposter commented Dec 8, 2020

@fxposter
Copy link
Contributor Author

fxposter commented Dec 8, 2020

Also - do you use v2 or v3?

@jyotimahapatra
Copy link
Contributor

We use eds/cds/lds/rds . We only use v3

@kyessenov
Copy link
Contributor

@fxposter can you fix create_version? once it passes CI, I guess we can try it in staging.

Base automatically changed from master to main January 15, 2021 23:25
@fxposter fxposter force-pushed the new-server-api-only branch from cdd4453 to f16bfa0 Compare January 28, 2021 22:56
@fxposter
Copy link
Contributor Author

@kyessenov sorry for it taking so long. @jyotimahapatra can we try testing this one?

@fxposter
Copy link
Contributor Author

@kyessenov I thought a bit about why previous attempt could lead to system being overloaded and I think that https://github.com/envoyproxy/go-control-plane/pull/357/files#diff-d8ad87612eeb084487962f9097b132371b1cb8402432bc8ea190ab973fdba1feR223 - here we should do a slightly modified processAll - instead of sending all ready responses, we should send all but from the one that has the type equal to request that we just got - this is not exactly matching the behaviour that currently exists, but closer than just doing processAll.

@fxposter
Copy link
Contributor Author

fxposter commented Feb 8, 2021

@jyotimahapatra can you, please, take a look?

@fxposter fxposter marked this pull request as ready for review February 9, 2021 08:02
@fxposter
Copy link
Contributor Author

fxposter commented Mar 5, 2021

@jyotimahapatra @kyessenov Guys, can we finally proceed, please?

@kyessenov
Copy link
Contributor

I'd ping @jyotimahapatra or @jessicayuen how to get it tested on lyft's infrastructure. The code was fine to me, but I imagine the real tests are in the staging.

@jessicayuen
Copy link
Member

Jyoti is no longer at Lyft, I'll take a look at this today or tomorrow.

@fxposter
Copy link
Contributor Author

huh. lucky me that @kyessenov has another person to ping :)

@jessicayuen
Copy link
Member

@samrabelachew pulled this change into xds-relay / Lyft and has been graciously testing on our staging traffic. So far things look promising, but we'd like to bake this over the weekend. If things look good, happy to approve and merge this!

@jessicayuen
Copy link
Member

@fxposter We tested this internally and didn't see any problems. Notice this PR is still marked WIP, is that still the case?

@fxposter
Copy link
Contributor Author

@jessicayuen nope, I just forgot to remove WIP after generating v3 version/etc.

@fxposter fxposter changed the title [WIP] server api without linearization server api without linearization Mar 27, 2021
jessicayuen
jessicayuen previously approved these changes Mar 30, 2021
Copy link
Member

@jessicayuen jessicayuen left a comment

Choose a reason for hiding this comment

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

Thanks, this LGTM.

@jessicayuen
Copy link
Member

@kyessenov Did you want to take a pass before I merge this?

Signed-off-by: Pavel Forkert <fxposter@gmail.com>
@fxposter
Copy link
Contributor Author

fxposter commented Apr 6, 2021

@snowp wow, merging incremental interfaces was fast. Should we maybe align them with the new way of what I propose here?

Signed-off-by: Pavel Forkert <fxposter@gmail.com>
@fxposter
Copy link
Contributor Author

fxposter commented Apr 6, 2021

@kyessenov rebased on top of current main branch. But not it looks weird, cause new "stream" apis are written in an original style, where chan is passed inside, but sotw apis are in new style.

@snowp
Copy link
Contributor

snowp commented Apr 6, 2021

@fxposter Sorry I wasn't aware that we wanted to apply this to the Delta API as well, I was just trying to fast track the Delta work since it'd been stalled for so long.

I don't feel particularly strongly about whether to land Delta as-is and make these interfaces updates later or to try to update it to use this asap, let's see what @alecholmez thinks since he's doing the work.

@alecholmez
Copy link
Contributor

alecholmez commented Apr 6, 2021

@fxposter @snowp I'm not opposed to bringing these changes back into the implementations. I'm about to open the PR for the simple snapshot cache implementation so I can just roll these changes back in there. @fxposter do you want to merge this and then I pull in the changes to delta?

@jessicayuen
Copy link
Member

@fxposter can you merge in the changes and we'll get this in?

@github-actions
Copy link

This pull request has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 7 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!

@github-actions github-actions bot added the stale label May 13, 2021
@github-actions
Copy link

This pull request has been automatically closed because it has not had activity in the last 37 days. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!

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

Successfully merging this pull request may close these issues.

6 participants