MQTT Mosquitto yog dab tsi?
MQTT Mosquitto yog dab tsi?

Video: MQTT Mosquitto yog dab tsi?

Video: MQTT Mosquitto yog dab tsi?
Video: Setting up Mosquitto Mqtt Broker on Windows 2024, Kaum ib hlis
Anonim

Mosquitto MQTT Broker . yoov tshaj cum yog ib qho yooj yim qhib qhov xov xwm broker uas Implements MQTT versions 3.1.0, 3.1.1 thiab version 5.0. Nws tau sau rau hauv C los ntawm Roger Light, thiab muaj raws li kev rub tawm dawb rau Windows thiab Linux thiab yog ib qhov project dab noj hnub.

Cov lus nug tseem yog, MQTT txhais li cas?

MQTT (MQ Telemetry Transport) yog qhib OASIS thiab ISO tus qauv (ISO/IEC PRF 20922) lub teeb yuag, tshaj tawm-sau npe koom tes hauv network uas thauj cov lus ntawm cov khoom siv. Nws yog tsim los rau kev sib txuas nrog tej thaj chaw deb qhov chaw uas yuav tsum tau "me me code footprint" los yog lub network bandwidth txwv.

Ib yam li ntawd, vim li cas MQTT siv hauv IoT? MQTT yog ib qho ntawm feem ntau siv raws tu qauv hauv IoT tej yaam num. Nws sawv cev rau Message Queuing Telemetry Thauj. Tsis tas li ntawd, nws qhov me me, kev siv hluav taws xob tsawg, cov ntaub ntawv me me thiab kev yooj yim ntawm kev siv ua cov txheej txheem zoo tshaj plaws ntawm "machine-to-machine" lossis "Internet of Things" ntiaj teb.

Kuj kom paub, MQTT broker yog dab tsi?

Txoj haujlwm ntawm ib MQTT broker yog lim cov lus raws li lub ncauj lus, thiab mam li muab faib rau cov neeg siv khoom. Tus neeg siv khoom tuaj yeem tau txais cov lus no los ntawm kev sau npe rau lub ncauj lus ntawm tib yam broker . Tsis muaj kev sib txuas ncaj qha ntawm tus tshaj tawm thiab cov neeg sau npe. Txhua tus neeg tuaj yeem tshaj tawm (tshaj tawm) thiab sau npe (tau txais).

Qhov txawv ntawm MQTT thiab HTTP yog dab tsi?

MQTT yog data centric whereas HTTP yog document-centric. HTTP yog thov- teb raws tu qauv rau cov neeg siv-neeg rau zaub mov xam thiab tsis yog ib txwm optimized rau mobile pab kiag li lawm. Tsis tas li ntawd, luam tawm / sau npe ua qauv muab cov neeg siv khoom muaj kev ywj pheej ntawm ib leeg thiab txhim kho kev ntseeg tau ntawm tag nrho cov kab ke.

Pom zoo: