Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Zero copy#444

Merged
robertroeser merged 2 commits intorsocket:1.0.xrsocket/rsocket-java:1.0.xfrom
rdegnan:zero-copyrdegnan/rsocket-java:zero-copyCopy head branch name to clipboard
Nov 12, 2017
Merged

Zero copy#444
robertroeser merged 2 commits intorsocket:1.0.xrsocket/rsocket-java:1.0.xfrom
rdegnan:zero-copyrdegnan/rsocket-java:zero-copyCopy head branch name to clipboard

Conversation

@rdegnan
Copy link
Member

@rdegnan rdegnan commented Nov 12, 2017

Adds a configurable frameDecoder to RSocketClient/Server which controls the creation of Payload from the incoming Frame. Makes Frame itself implement Payload, so it is possible to pass an incoming payload directly to an outgoing without copying.

Removed PayloadImpl and added a default payload implementation (DefaultPayload) based on ByteBuffer which does not have to be released. Added ByteBufPayload based on Netty ByteBuf which does have to be released, but can be pooled, etc. for high-throughput use cases.

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.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.