Skip to content

luanjunyi/gossipd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#What is Gossipd?# Gossipd is an implementation of MQTT 3.1 broker written in Go. MQTT is an excellent protocol for mobile messaging. Facebook built the new Facebook Messager with MQTT.

#What is Gossipd for?# The main reason I'm writing this is because all major open source MQTT brokers, like Mosquitto, didn't balance well between scalability and ease of use.

Gossipd should be considered when the 'select' based Mosquitto can't meet your scale requirement, yet only the 'basic' part(see Not supported features for detail) of MQTT is needed in your project. Gossipd is built with performance at heart.

#Usage# To use Gossipd, run:

go run gossipd

The broker will start and listen on port 1883 for MQTT traffic. Command line flags:

  • -p PORT: specify MQTT broker's port, default is 1883
  • -r PORT: specify Redis's port, default is 6379
  • -d: when set comprehensive debugging info will be printed, this may significantly harm performance.

#Dependency#

#Not supported features#

  • QOS level 2 is not supported. Only support QOS 1 and 0.

  • Topic wildcard is not supported. Topic is always treated as plain string.