-
Notifications
You must be signed in to change notification settings - Fork 2
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
Maximum inlined data size is 1024 bytes by default. Good? Bad? #4
Comments
really don't want this to be big... I'll say 1000 bytes. |
I think that 1000 bytes must be enough for everybody. On the other hand, if an institution will publish too big messages then none will subscribe to them. |
This is implemented in the wmo_mesh example now. --inline option, with --inline_max to do experiments with maximim inline message size. |
self-regulation idea is a good one. On one hand, including the data in the payload saves time for small bulletins. On the other hand, if one is
|
on the current feed from hpfx.collab, I upped the maximum to 2048, to get more files inlined, provides more frequent demonstration. |
@davidpodeur brought up an interesting case:
one would need fify or more parallel transfers to catch up with tar files. In this instance, a much higher limit for the size of embedded data makes sense, or an extended message type that refers to a tar bucket. |
Well, we definitely cannot set one hard limit to fit all use-cases. It needs to remain configurable. We can just recommend - something like: "Keep it in kilobytes unless you are sure that your use case will benefit from a higher limit. Avoid going to megabytes unless your data is distributed only to a restricted group of systems that can cope with it." |
This is a reference to #3 ... separate from implementation concerns, inlining large data will have a severe effect on broker performance. so this Issue will try to document a consensus value.
The text was updated successfully, but these errors were encountered: