Skip to content

Commit

Permalink
Update en_US/changes/changes-ee-v5.md
Browse files Browse the repository at this point in the history
Co-authored-by: zmstone <[email protected]>
  • Loading branch information
Meggielqk and zmstone authored Nov 8, 2024
1 parent 928c85c commit e364249
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions en_US/changes/changes-ee-v5.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,6 @@ Make sure to check the breaking changes and known issues before upgrading to EMQ

**Note:** This change does not apply to RHEL 7/CentOS 7, as they continue to use OpenSSL 1.0.x.

- [#14047](https://github.com/emqx/emqx/pull/14047) Lowered default `active_n` value from `100` to `10`.

This change improves the responsiveness of MQTT clients to control signals, particularly when publishing at high rates with small messages.

The new `active_n` value of `10` is set deliberately lower than the default Receive-Maximum (`32`), to introduce more push-back at the TCP layer in the following scenarios:

- The MQTT client process is blocked while performing external authorization checks.
- The MQTT client process is blocked during data integration message sends.
- EMQX is experiencing overload conditions.

Performance testing showed no significant increase in latency across various scenarios (one-to-one, fan-in, and fan-out) on 8-core, 16GB memory nodes.
However, on 2-core, 4GB memory nodes, the baseline latency (with active_n = `100`) was already in the higher 3-digit range with high CPU utilization.
The decision to lower `active_n` optimizes for more common use cases where system stablity takes precedence over latency (in smaller instances).

- [#14059](https://github.com/emqx/emqx/pull/14059) Added a new configuration option for the retainer to cap message expiry intervals for retained messages. This enables garbage collection to remove messages sooner if storage is running low.

Expand Down

0 comments on commit e364249

Please sign in to comment.