-
Notifications
You must be signed in to change notification settings - Fork 66
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
grpc: received message larger than max #203
Comments
We're using the default size so I think we don't need to make this configurable yet. I believe we can check the size of the proto message before and after appending and if doubling the message that was just appended would overflow the size we should just send it out instead of waiting for the interval to kick in. |
Sounds like a good strategy. I'm moving the issue to agent side. |
Ultimately though, I think we should stream the data, but that we should only do once we truly implement our own protocol/format. |
Fixes: parca-dev#203 Signed-off-by: heylongdacoder <heylongdacoder@gmail.com>
Opening this in here but this could be solved on the agent side as well. This is probably an overlooked side effect of Write Request batching on the agent side. #116 We probably need to communicate the max message size to the agent (with a flag or an exposed discovery API?)
I see another message now, a lot of them.
Originally posted by @korjavin in parca-dev/parca#514 (comment)
cc @Sylfrena @brancz
The text was updated successfully, but these errors were encountered: