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

Push updates from Integreat CMS to App #36

Open
svenseeberg opened this issue Sep 24, 2024 · 0 comments
Open

Push updates from Integreat CMS to App #36

svenseeberg opened this issue Sep 24, 2024 · 0 comments
Assignees
Labels
component:cms Integreat CMS enhancement New feature or request

Comments

@svenseeberg
Copy link
Member

svenseeberg commented Sep 24, 2024

The Integreat App currently relies on polling for fetching new messages from the CMS. It would be nice to implement pushing messages. This probably requires some kind of message queue.

Websockets are probably the best implementation. However, with WSGI, each requests blocks one worker process. That means we need more workers to ensure that we do not end up in an exhaustion of processes. This would be the easiest implementation and could probably suffice for multiple chats at a time.

A better alternative would be switching to ASGI. This allows one worker to handle multiple requests. Apache HTTP does not support ASGI and we would therefore have to switch to Nginx.

More info:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:cms Integreat CMS enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants