Skip to content

Quotas and Limits

EMQX Platform sets default quotas (or limits) for each deployment and the default value of some of the quotas can be adjusted. The following tables show the default value of the quotas in different deployments and whether they can be adjusted. If you need to adjust the quotas, please contact us.

Serverless

QuotasDefault ValueAdjustable
Maximum internal authentication entries2000NO
Maximum internal authorization entries2000NO
Anonymous accessNo anonymous accessNO
Maximum message queue length1000NO
Maximum message size1 MBNO
Session expiry time(MQTT 3.x)2 hoursNO
Maximum retained messages2000NO
Maximum size of a retained message1 MBNO
Retained message expiry intervalNeverNO
Client ID maximum length(MQTT 3.x)23NO
Client ID maximum length(MQTT 5.0)256NO
Maximum subscriptions for a single client10NO
TCP connect timeout10sNO
TLS version-NO
TLS encryption algorithm-NO
Maximum API QPS100/sNO
Number of deploymentsUp to 2 [*1]YES
Number of subaccounts20NO

[1] Create an extra Serverless deployment by adding a payment method.

Dedicated and BYOC

QuotasDefault ValueAdjustableRequires Deployment Restart
Maximum internal authentication entriesSession tier * 2 [*1]--
Maximum internal authorization entriesSession tier * 2 [*2]--
External authentication supported at the same time2NO-
Anonymous accessNo anonymous accessYESNO
Maximum message queue length1000YES[*3]NO
Maximum message size1 MBYES[*4]NO
Session expiry time(MQTT 3.x)2 hoursYESNO
Maximum retained messagesSession tier * 10NO-
Maximum size of a retained message1 MBYESNO
Retained message expiry intervalNeverYESNO
Client ID maximum length(MQTT 3.x)23YESYES
Client ID maximum length(MQTT 5.0)256YESYES
Maximum API QPS100/sNO-
TCP connect timeout10sYESYES
TLS version-YES[*5]NO
TLS encryption algorithm-YESNO
Maximum resources that can be created in Data Integration10YESNO
Maximum rules that can be created in Data Integration50YESNO
Number of deployments3YESNO
Number of subaccounts20NO-

[1] It is recommended to use external authentication if the credentials are more than 100,000.
[2] It is recommended to use external authentication if the credentials are more than 100,000.
[3] The number can be adjusted to the same as the session tier.
[4] The maximum size can be adjusted to 10MB. Due to deployment bandwidth limitations, the maximum TPS will be affected. In case of transmitting 10MB sized MQTT messages, the TPS of the deployed will shrink to 100/s.
[5] Support TLS 1.0、1.1、1.2、1.3.