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

Introduced the Buf type as Readable / Writeable Array Buffer. #49

Merged
merged 1 commit into from
Apr 12, 2016
Merged

Introduced the Buf type as Readable / Writeable Array Buffer. #49

merged 1 commit into from
Apr 12, 2016

Conversation

penland365
Copy link
Contributor

The ChannelBuffer backed implementation of Buffer used currently ( and borrowed from finagle-mysql ) has 3 issues - it generates a lot of garbage with separate Reader / Writer classes, it's based on Netty3, and it doesn't correctly write all UTF-8 encoded strings to it's buffer.

The Buf type was introduced to address this. As of this commit, nothing internal to roc-core will use this new type outside of tests. Conversion of existing Buffer uses will take place gradually prior to finagle-4
being introduced.

There is still work to be done in completing Benchmarks.

This partially addresses #48 .

The ChannelBuffer backed implementation of Buffer used currently ( and
borrowed from finagle-mysql ) has 3 issues - it generates a lot of
garbage with separate Reader / Writer classes, it's based on Netty3, and
it doesn't correctly write all UTF-8 encoded strings to it's buffer.

The Buf type was introduced to address this. As of this commit, nothing
internal to roc-core will use this new type outside of tests. Conversion
of existing Buffer uses will take place gradually prior to finagle-4
being introduced.

There is still work to be done in completing Benchmarks.

This partially addresses #48
@penland365 penland365 merged commit 9812755 into finagle:master Apr 12, 2016
@penland365 penland365 deleted the upgrade-buffer branch April 12, 2016 17:35
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.

1 participant