Status
Not open for further replies.

roycerus

Customer
Hi Fillip,
To help reduce the server load on can you create a button saying "Make this real time" when a users makes a quickreply and only when you a certain percentage of users participating in the thread are "online"? This will make sure that real time updates are initiated by real members who are using it.

Also strike out threads from real time updates when there has been no activity on the thread.

You can maybe also extend the functionality to send a notification to the online members participating in the thread that "real time discussion has been enabled on this thread".

I think managing the real time updates selectively will make all the difference in this mod and it'll manage the server load manageable - instead of making all threads real time it should choose intelligently.

Regards,
Sid
 
Upvote 0
This suggestion has been closed. Votes are no longer accepted.
Determining participating members' online status is vastly more performance intensive than doing a quick query against indexed columns in the post table :)

I'll flag this as under consideration because deactivating automatic updates on threads that haven't received any new posts for an admin configurable number of hours is a good idea :)
 
Also changing the thread to "real time" again when a user posts in the thread - a cron could be written to periodically check the lastpost timestamp and close "real time" updates on them.

The reason why I say this because if all open threads are "real time" - it'll keep refreshing even if the user didn't want to refresh it.

To intelligently choose which threads should be "real time" will help a lot of the server load and efficiency.

For people like us who close old threads and have only 1 month old threads open - in the query for last post we can add "open" as a clause and it'll vastly reduce the number of records which need to be scoured from the threads table to find lastpost. Maybe add a lastpost index on it.

I'll definitely use this if this can be implemented. To take the functionality to even greater heights - you can add a notification through your notifications mod about how a thread has gone real time to all the users participating in it.
 
Status
Not open for further replies.
Back
Top