JushBJJ / Rane

Chat Client made in Flask aimed to be hosted in a local network.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Communication between the server and client is incredibly slow.

JushBJJ opened this issue · comments

Resource server really isn't needed and will slow performance down, best to integrate it into the main server.

Improvements needed

  • Peer to Peer networking can solve this. (eg. When someone sends a message, the person directly gets the message then the resource server also receives the message.)
  • Get rid of the resource server, instead integrate it into the main server to manage the database. Moreover, the repeat function from utils/utils.py could be recoded to call functions from resources/resource_server.py.

70906a8 fixes this and substantially improves performance.