Skip to content

typeworld/messagequeue-docker

Repository files navigation

Run docker container locally

./docker.sh

GCloud

Build & upload to gcloud: gcloud builds submit --tag gcr.io/typeworld2/messagequeue

Attach docker output to SSH shell

docker attach $(echo $(docker container ls) | cut -d ' ' -f9)

Log into container:

docker exec -it $(echo $(docker container ls) | cut -d ' ' -f9) /bin/bash

Reload Compute Engine: gcloud compute instances update-container messagequeue

Limitations:

After an actual measurement, the number of connections maxxed out at 65K, using 1912MB memory, or 294MB per 1K connections. Therefore, a machine with roughly 3GB memory should be used (ca. 600MB system base usage + 1912MB = 2512MB)

Number of connections: ulimit -n

Global limit: cat /proc/sys/fs/file-max

About

Type.World’s internal data messaging system, used for sending out live update notifications

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •