Skip to content

Example on how to scale Websocket with PubSub from Google Cloud PubSub

Notifications You must be signed in to change notification settings

DylanMerigaud/Node-React-Websocket-scale-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node-React-Websocket-scale-test

Test it locally

Create a new file ./backend/.env by taking ./backend/.env.example as example. Install depencies by running yarn install at the root of the project. Test by running yarn start. It should open 2 new tabs in your browser, which must be sync.

Demo

You can test it without running locally. It's hosted on free tier heroku so you it should take some time to warmup.
Website 1 plugged on Backend 1
Website 2 plugged on Backend 2

About

Example on how to scale Websocket with PubSub from Google Cloud PubSub

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published