Skip to content
Discussion options

You must be logged in to vote

Hi! Thanks for the great question. You've pointed out a very critical architectural challenge.

You are completely right. As the system scales, having hundreds or thousands of active users hitting the Django server every 5 seconds via standard HTTP polling will inevitably lead to database bottlenecks and high CPU usage, even with optimized querysets.

Here is my approach and how I see this evolving:

1. Current State (Why Polling?)

For the initial version of this project, HTTP Live-Polling was chosen for a few reasons:

  • Simplicity & Speed of Development: It allowed quick implementation of a real-time feel on the frontend without adding infrastructure complexity (like ASGI, Redis, or protocol…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Rayafarezi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants