MQTT over TCP as an optional transport
See original GitHub issueYou want to:
- report a bug
- request a feature
Status quo
“Transport” only supports ['polling', 'websocket']
Expected implementation
“Transport” supports ['polling', 'websocket', 'mqtt']
Rationale
When developing mobile apps (aka non-web), MQTT over TCP performs much better than HTTP (polling, websocket, or MQTT over websocket), however, like the adoption of websocket, MQTT over TCP might be stopped by firewall. In an ideal scenario, app developers should not care about the transportation, but focus on the logic. Transportation layer should gracefully chooses the best method, given the conditions. Ref https://www.quora.com/Is-MQTT-better-than-HTTP-for-mobile-app-iOS-Android-etc-client-server-communication
Other information:
- If this issue is approved, I can research how to optionally use https://github.com/mqttjs/MQTT.js as one of the transport method, e.g
['polling', 'websocket', require('mqtt-engine')]
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
IoT Platform:Establish MQTT connections - Alibaba Cloud
This topic describes how to establish Message Queuing Telemetry Transport (MQTT) connections by using an MQTT client.
Read more >MQTT messaging - IBM
MQTT is a publish and subscribe messaging transport protocol that is designed for the efficient exchange of real-time data between sensor and mobile...
Read more >What is MQTT and How Does it Work? - TechTarget
While the TT in MQTT stands for Telemetry Transport, the MQ is in reference to a product called IBM MQ. Although the spell-out...
Read more >MQ Telemetry Transport (Part 1) - Circuit Cellar
MQTT packets use the Transmission Control Protocol/Internet Protocol (TCP/IP) for communications. The Internet Protocol suite uses ports to ...
Read more >MQTT - Zephyr Project Documentation
MQTT (Message Queuing Telemetry Transport) is an application layer protocol which works on top of the TCP/IP stack.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@hearsh I’m afraid no work has been done on our side yet, I don’t know if @truongsinh has had some time to dedicate to it.
Hi @truongsinh, sorry for the delay! That indeed looks promising, I’ll be happy to merge your pull request for that feature.
I’m afraid you’ll have to dig a bit into engine.io internals though 💪