Skip to content

sjsakib/mqtt-vs-socketio

Repository files navigation

mqtt-vs-socketio

How to run this?

Run these commands

# install node dependencies
npm i

# run the mosquitto image
docker-compose up -d

# run the backend 
node server.js

Now open the client.html file in a browser and play around. Don't forget to subscribe to get the messages. Make the message a big string, adjust connection speed in the devtools or make it offline while messages are being published and see how they handle it.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published