Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

♻️(tray) split websocket and asgi apps in tray #2630

Merged
merged 1 commit into from
Oct 3, 2024

Conversation

lunika
Copy link
Member

@lunika lunika commented Sep 27, 2024

Purpose

We have detected a memory leak in the websocket application. An issue exists on the django channels github repo about this topic. We also detected that this memory leak can have side effect on the asgi application, the application can become slower leading to timeout. To remove this side effect we decided to create a deploy dedicated to the websocket application and nginx is reponsible to use the right backend based on the request path.

django/channels#2094

Proposal

  • split websocket and asgi apps in tray

We have detected a memory leak in the websocket application. An issue
exists on the django channels github repo about this topic.
We also detected that this memory leak can have side effect on the asgi
application, the application can become slower leading to timeout. To
remove this side effect we decided to create a deploy dedicated to the
websocket application and nginx is reponsible to use the right backend
based on the request path.

django/channels#2094
@lunika lunika self-assigned this Sep 27, 2024
@lunika lunika merged commit 7692832 into master Oct 3, 2024
33 checks passed
@lunika lunika deleted the isolate-websocket-pods branch October 3, 2024 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants