Skip to content

Migrate Notifications server to python #198 #526

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

Open
wants to merge 20 commits into
base: master
Choose a base branch
from

Conversation

stopnoanime
Copy link
Contributor

Migrated the server. Used socketify.py for high performance WebSockets. The server configuration variables and deployment remain the same. Additionally the server is now tested using the normal Django test suite.

@stopnoanime stopnoanime requested a review from MasloMaslane as a code owner June 5, 2025 09:47
@stopnoanime stopnoanime marked this pull request as draft June 8, 2025 21:13
@stopnoanime stopnoanime force-pushed the notifications-python branch from 7712185 to 92aae1b Compare June 17, 2025 09:20
@stopnoanime
Copy link
Contributor Author

Unfortunately, I was able to reproduce socketify.py issue #141, which causes the server to segfault due to improper memory management within the library.

As a result, I can no longer use socketify.py for the notifications server. The only viable alternative is the Python websockets library, though it is slower.

I will rewritte the server to use the websocket liblary, however I'm uncertain if the performance will be satisfactory.

@stopnoanime stopnoanime marked this pull request as ready for review June 25, 2025 12:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants