Skip to content

Back-end for new core API#357

Merged
yang-g merged 108 commits intogrpc:masterfrom
ctiller:async-api
Feb 5, 2015
Merged

Back-end for new core API#357
yang-g merged 108 commits intogrpc:masterfrom
ctiller:async-api

Conversation

@ctiller
Copy link
Copy Markdown
Member

@ctiller ctiller commented Feb 3, 2015

This is the backend for the new core batch-based API.

It's missing an implementation of the surface layer API, and the tests that would be required to add that.
I'll fill them in with a future pull request (or add them to this one depending on whether code review or actual coding has higher latency.

@ctiller
Copy link
Copy Markdown
Member Author

ctiller commented Feb 3, 2015

I've pushed some simplifications for this code. It seems to have unsquashed things in my moves between machines, so apologies for the very log commit list.

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.

There is not description there.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I just pushed some documentation on this data structure - it got lost at some point.

@ctiller ctiller mentioned this pull request Feb 4, 2015
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.

The comments seem to match my understanding but this last paragraph is not quite clear to me. Maybe it will get better when I finish reading code. Is "set" == "group"? Should masters[op] be masters[set] to make it more clear? If there is at most one op of a kind active at once, why not just make masters indexed by op instead of by request_set[op]? Also there is "a the".

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Just pushed some cleanup -- clearer?

@yang-g
Copy link
Copy Markdown
Contributor

yang-g commented Feb 4, 2015

LGTM

yang-g added a commit that referenced this pull request Feb 5, 2015
@yang-g yang-g merged commit 82a4583 into grpc:master Feb 5, 2015
@yang-g yang-g deleted the async-api branch February 5, 2015 00:37
@lock lock bot locked as resolved and limited conversation to collaborators Feb 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants