8000 GitHub - feyzullahyildiz/poc-websocket-scales-horizontally: This app proofs that websocket server scales horizontally
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feyzullahyildiz/poc-websocket-scales-horizontally

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

What is this Repo for

Techs

Run in you PC with Docker

  • Install Docker to you PC
  • Then execute these comments by one one
    • docker swarm init
    • docker compose build
    • docker stack deploy -c docker-compose.yaml ws-app
  • Open this URL in your browser with a couple tabs http://localhost:8000

To Scale up

  • docker service update --replicas 1 ws-app_backend
  • docker service update --replicas 10 ws-app_backend

To Delete App

  • docker stack rm ws-app

About

This app proofs that websocket server scales horizontally

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0