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

Buffer refactoring in zenoh core #13

Closed
Mallets opened this issue Apr 11, 2022 · 0 comments
Closed

Buffer refactoring in zenoh core #13

Mallets opened this issue Apr 11, 2022 · 0 comments

Comments

@Mallets
Copy link
Member

Mallets commented Apr 11, 2022

Discussed in https://github.com/eclipse-zenoh/roadmap/discussions/12

Originally posted by Mallets April 11, 2022

Summary

Current ZBuf and WBuf implementations are ubiquitously used in zenoh code and bindings.
As a result, current implementation needs to accomodate a large set of requirements making it hard to scale and optimise for particular scenarios.
A recent PR, introduced common traits for ZBuf and WBuf implementations.
This allows to have targeted buffer implementation that expose a common trait leaving the internal structure tailored to the use case (e.g. serialisation, defragmentation, shared memory, etc.).

Intended outcome

Targeted implementations of ZBuf and WBuf for different places in the code.
As a result, memory management and performance should benefit from it.

How will it work?

Users will still use the same zenoh API that is based on the common traits.

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

No branches or pull requests

1 participant