linagora / james-project

Mirror of Apache James Project
Apache License 2.0
70 stars 63 forks source link

RabbitMQ classic queue: apply recommend classic Queues v2 #5182

Closed quantranhong1999 closed 1 month ago

quantranhong1999 commented 2 months ago

Why

Currently, for RabbitMQ <= 3.12, the default classic queue version is v1.

RabbitMQ claims the v2 to be better than v1:

In many use cases, switching to CQv2 will result in a 20-40% throughput improvement and lower memory usage at the same time.

Most users still use CQv1, but starting with 3.12 we highly recommend switching to, or at least evaluating, CQv2. Version 2 will become the default in 3.13 and will become the only implementation later on.

cf:

We should try to perf test the classic queue using v2. If the result is good, we should apply it.

How

chibenwa commented 2 months ago

Noce findings.

Please do not forget to document inter-operability with previous James version if needed.

quantranhong1999 commented 1 month ago

https://github.com/apache/james-project/pull/2243