Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Porting adaptive receive buffer prediction#117

Merged
nayato merged 1 commit intoAzure:devfrom
nayato:recv
Jun 1, 2016
Merged

Porting adaptive receive buffer prediction#117
nayato merged 1 commit intoAzure:devfrom
nayato:recv

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