S
S
Sergey Ganzhela2019-12-02 21:39:59
Django
Sergey Ganzhela, 2019-12-02 21:39:59

How to properly configure django-channels?

Good evening! Bringing up an old topic! How to beat Channels(group chat app) please? as if nothing has changed from the position of the settings, the chat works quite steadily up to 200-250 people, there were more up to 500, but as soon as the connection fails (it’s not clear what exactly the Socket itself fell? or Daphe or Redis ) the chat freezes and does not accept neither new connections nor old ones are restored, writes While loading the page, the connection to wss://example.com/dashboard/chat/1164/ was interrupted. The most that I managed to see after a failure, the chat worked when there were 80-90 people in the room, if more, everything usually goes out the load on the workers grows

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
antonksa, 2019-12-06
@antonksa

pip install aiohttp

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question