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

[BYDB-Replica] Replace Any with []byte Between Liaison and Data Nodes #12873

Open
2 of 3 tasks
hanahmily opened this issue Dec 17, 2024 · 0 comments
Open
2 of 3 tasks
Labels
database BanyanDB - SkyWalking native database feature New feature

Comments

@hanahmily
Copy link
Contributor

Search before asking

  • I had searched in the issues and found no similar feature requirement.

Description

Enhance the communication protocol between Liaison and Data Nodes in BanyanDB by replacing the existing google.protobuf.Any type with a []byte field in the gRPC definitions. This modification eliminates the overhead associated with the Any type, such as additional metadata and increased serialization/deserialization latency.

To accomplish this, implement custom marshal and unmarshal functions within Liaison and Data Nodes. These functions will handle the serialization and deserialization of data more efficiently using optimized encoding libraries. By directly managing byte slices, we can reduce payload sizes, lower CPU usage, and improve overall performance and resource utilization.

Use case

No response

Related issues

No response

Are you willing to submit a pull request to implement this on your own?

  • Yes I am willing to submit a pull request on my own!

Code of Conduct

@hanahmily hanahmily added feature New feature database BanyanDB - SkyWalking native database labels Dec 17, 2024
@hanahmily hanahmily added this to the BanyanDB-0.9.0 milestone Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
database BanyanDB - SkyWalking native database feature New feature
Projects
None yet
Development

No branches or pull requests

1 participant