A modern platform for Message Push、Instant Messaging etc, based on MQTT protocol.
MeQ is written in pure go. Our goal is to be the best messaging platform in the world.
Still under developing, 2019-01-03
Other Os: https://www.foundationdb.org/download/ (Please choose version 5.1.7)
> go get github.com/mafanr/meq
> cd $GOPATH/src/github.com/mafanr/meq/broker
> go run main.go> cd ../demos/chatting
> npm install
> npm run devOpen your browser and accsess http://localhost:8080 in two seperate pages,in one page input username A,in other page input username B, then you can start chatting!
Broker uses memory storage by default, if you want to use persistent storage, please install foundationDB server V5.1.7 , and then edit the broker.yaml,change store.engine from memory to fdb.
- Written in go, as fast as c/c++ network programing
- Zero allocation and copy
- Hot path and algorithm optimized
- Easy to study and use
- Detailed docs and examples
- Robust is one of our most important goal throughout the developing
- Default message persistent,also you can implement the persistent inteface in your way
- Message push
- Group chatting
- IM
- IoT messaging
- Real time Web interaction,like dashboard、online collaboration etc
- Join and leave the group
- Each user has a separate unread message number,e.g. you have 97 unread messages in ethereum-welcom group
- You can retrive your message even after sended
- History messages playback
- Query all the users or online users in the group
- Every message will store only once, all the users share the message
- Topic wild match, e.g. you can push to /china/+/city1, then all the china province which has city named city1, will receive the message.
- Mqtt and websocket,tcp etc
- Low latency, message push deliver to user as soon as possible
- Fertile administrator features and ui
- Monitor and message trace
There were already many messaging platform out there, but none of them can satisfy all the messaging scenario, e.g., if you want build a online chatting platform, you need to build it from scratch, nearly none of the existing platform can satisfy your need. So �here meq comes, cover your messaging scenario in the most easy way.
Want to be part of the meq project? Great! All are welcome! We will get there quicker together :) Whether you find a bug, have a great feature request or you fancy owning a task from the road map, you can leave a issue.