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

Porting adaptive receive buffer prediction #117

Merged
merged 1 commit into from
Jun 1, 2016
Merged

Conversation

nayato
Copy link
Member

@nayato nayato commented May 25, 2016

Motivation:
Provides good flexible default while lowering memory consumption on average.

Modifications:

  • Synced IRecvByteBufAllocator and relevant parts up to date
  • Ported AdaptiveRecvByteBufAllocator
  • Extra: properly porting ChannelMetadata

Result:
Process of receiving bytes from network is more configurable and allows for both more conservative and more agressive ingestion.

@nayato
Copy link
Member Author

nayato commented May 25, 2016

@myagley, @mtuchkov PTAL

@nayato nayato added this to the 0.3.1 milestone May 27, 2016
protected DefaultMaxMessagesRecvByteBufAllocator()
: this(1)
{
;
Copy link

Choose a reason for hiding this comment

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

Is this semicolon intended?

@mtuchkov
Copy link
Contributor

LPITM (Looks pretty identical to me) :) 👍

@myagley
Copy link

myagley commented May 27, 2016

LGTM except for the two comments I had.

Motivation:
Provides good flexible default while lowering memory consumption on average.

Modifications:
- Synced IRecvByteBufAllocator and relevant parts up to date
- Ported AdaptiveRecvByteBufAllocator
- Extra: properly porting ChannelMetadata

Result:
Process of receiving bytes from network is more configurable and allows for both more conservative and more agressive ingestion.
@nayato nayato merged commit 86749e9 into Azure:dev Jun 1, 2016
@nayato nayato deleted the recv branch June 1, 2016 01:07
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.

4 participants