-
Notifications
You must be signed in to change notification settings - Fork 17
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
feat: /msg endpoint now takes vectorized encrypted messages #549
Conversation
Terraform Feature Environment (dev-549)Terraform Initialization ⚙️
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the average number of messages in one 256kb partition?
We can fine-tune it once we switch to TCP, but why 256kb?
256kb was arbitrary and seemed small enough payloads. Also, 1mb payloads were erroring out with the default accepted payload size, so went with 256kb for now since it was good enough and reduced the number of requests by like 90% according to our metrics |
Terraform Feature Environment Destroy (dev-549)Terraform Initialization ⚙️
|
This optimizes the number of messages outflowing from a node, such that the network doesn't get used as much. This bundles up multiple messages into at most 256kb payloads. Reduces the latency quite a bit and increases the success rate of triples generated in time