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

Reduce default maximum message size to 16MB #11455

Merged
merged 1 commit into from
Jun 14, 2024

Conversation

dcorbacho
Copy link
Contributor

@dcorbacho dcorbacho commented Jun 14, 2024

Following this discussion #11187 we are setting the default maximum message size to 16MB.

This is just a default, and can be increased or decreased through the configuration setting rabbit.max_message_size.

Closes #11187.

@michaelklishin michaelklishin added this to the 4.0.0 milestone Jun 14, 2024
@michaelklishin michaelklishin merged commit 6605a73 into main Jun 14, 2024
290 checks passed
@michaelklishin michaelklishin deleted the default-max-message-size branch June 14, 2024 17:49
@michaelklishin
Copy link
Member

Given the heat of the discussion in #11187, we need to mention why the new value was set to 16 MiB. It is

  • Roughly the mid-point of what a few users with (very) large RabbitMQ cluster fleets and our team have considered
  • A value that CQv2 (maybe by then called CQv3) will handle well and reasonably efficiently as of 4.0 (per discussion with @lhoguin)

@ansd
Copy link
Member

ansd commented Sep 20, 2024

The 4.0 docs do not reflect this change: https://www.rabbitmq.com/docs/configure#config-items

ansd added a commit to rabbitmq/rabbitmq-website that referenced this pull request Sep 20, 2024
@ansd
Copy link
Member

ansd commented Sep 20, 2024

Created rabbitmq/rabbitmq-website#2073

ansd added a commit to rabbitmq/rabbitmq-website that referenced this pull request Sep 20, 2024
ansd added a commit that referenced this pull request Sep 20, 2024
Given that the default max_message_size got decreased from 128 MiB to 16
MiB in RabbitMQ 4.0 in #11455,
it makes sense to also decrease the default MQTT Maximum Packet Size from 256 MiB to 16 MiB.
Since this change was missed in RabbitMQ 4.0, it is scheduled for RabbitMQ 4.1.
ansd added a commit that referenced this pull request Sep 20, 2024
Given that the default max_message_size got decreased from 128 MiB to 16
MiB in RabbitMQ 4.0 in #11455,
it makes sense to also decrease the default MQTT Maximum Packet Size from 256 MiB to 16 MiB.
Since this change was missed in RabbitMQ 4.0, it is scheduled for RabbitMQ 4.1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4.x: reduce default maximum message size further (e.g. to 64 or 50 MiB)
3 participants