1. Introduction to EMQ (open source)
EMQ (Erlang/Enterprise/Elastic MQTT Broker) is based on the Erlang/OTP platform development of open source iot MQTT message server, Erlang/OTP is excellent Soft real-time (Soft - Realtime), Low Latency (Low Latency) real-time communication protocol, a Distributed platform (Distributed) language, MQTT is Lightweight (Lightweight), issued a subscription model (PubSub) Internet messaging protocols,
EMQ project design goal is carrying mobile terminals or Internet of things terminal mass MQTT connection, and realize rapid low latency between mass iot device message routing:
Stable carrying massive MQTT client connection, single server nodes support connection between 500000 and 1 million,
Distributed node cluster, fast low latency message routing, ChanJiQun support 10 million the size of the routing,
Extension in the message server, support custom multiple authentication methods, efficient store messages to the backend database,
Complete content networking protocol support, MQTT, MQTT - SN, CoAP, WebSocket or private protocol support,
There are three kinds of concrete news service quality:
At most time, news relies entirely on the underlying TCP/IP network, messages will happen lost or repetition, a level that can be used in the following situations, environmental sensor data, lost a reading record doesn't matter, because soon there will be the second time to send,
At least once, to ensure that messages arrive, but repeated messages may occur,
Only once, make sure that the message arrived in time, a level that can be used in the following situations, duplicate or missing in the billing system, news can lead to incorrect results
When I want to select a server time to consider the following points:
Choose the eqm the mainest is open source, free charge
Able to deal with a large number of clustering equipment
To elaborate access control (MQTT either for terminal and server are publish and subscribe so requires permissions limit not everyone can give device sends the message)
Community to perfect the team continued support
A visual dashboard can manage to monitor link status, consumption situation
Below I Windows 10 environment building, for example:
First we download
Download link: http://www.emqtt.com/downloads
Download well into the desktop (I used on desktop)
Second:
Open a command operator CD to emqttd directory
Third:
Command:/bin/emqttd start
Third:
Command:/bin/emqttd_ctl status
Third:
Enter http://127.0.0.1:18083 in the browser to the web login page
Third: (account: admin password: public)
Or:
Command:/bin/emqttd console
Also can start the service, can more clearly see the server has normal boot
Here has completed the construction of the server installation process, have what problem can leave a message, or add my QQ contact, I will reply in time,
The next post will tell how to implement the publish and subscribe, please continue to pay attention!
CodePudding user response:
Message queue? Can't into the system, take a look at your web page?CodePudding user response: