/demo-distributed-websocket-server

an demo of distributed websocket server use python

Primary LanguagePython

Example of distributed websocket server

Link

Run

  • Install pipenv
  • Run pipenv install
  • Run pipenv shell
  • Run python server_with_aioredis.py to start server which use redis
  • Run python server_with_aiopika.py to start server which use rabbitmq

Notice

  • This project is just a demo, don't Shanggangshangxian.
  • Before start server please change RABBITMQ_URL or REDIS_URL to youself value.