Skip to content
Discussion options

You must be logged in to vote

Hi @AmirOsman2020

  • HTTP in general is a heavier protocol than MQTT.
  • Internally in EMQX, HTTP request parsing has more overheads than MQTT messages, however unlikely an order of magnitude difference.
  • If HTTP connection is closed for each request, then the overhead of connect/reconnect should be considered, especially when using TLS.

I am not aware if anyone has done performance tests for the HTTP API before, it would be interesting to know.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@AmirDotDev0
Comment options

@zmstone
Comment options

@AmirDotDev0
Comment options

Answer selected by AmirDotDev0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants