Jump to content

Group Notice Expiration

Recommended Posts

I have been pondering the problem of full IM queues.

Part of the problem: Notices are time dependent. A music club or a group hold an event on a particular day and time. They post details of the event to members of the group as usual. The event passes, but those that have not logged in still have the notice in their IM queue, and because of the limits on IM queues their IM's are capped.

Part of the suggested solution: Have a date/time stamp for when a notice expires, and remove notices from queues that have this date/time stamp set when the date is greater than the date of the notice.

It does mean that behind the scenes the IM database will have to have a field added, an ExpiresDate field, but once this is added a single query run once a day will empty out old messages in a flash. In pseudo sql code, DELETE FROM IMdatabase WHERE ((ExpiresDate IS NOT NULL) AND NOW() > ExpiresDate). It could be run at any low usage time, e.g. 4am SL.

Just having a queue that doesn't fill with out of date stuff would be nice.

This partially addresses the database size of the IM queue, which I assume is the reason for the cap on the number of messages, and it means that if users are reasonably active the chances of missing events is lessened. Even non time critical notices could be expired after say a month or two. If a person does not log in within that time frame they might be losing interest anyway, but since expiry date setting could be optional then thoughtful group posters could ensure that their posts do not linger longer than is relevant.

Yay or nay?


Link to comment
Share on other sites

This is a great idea.  It sounds like someone would have the option of setting an expiration date when they send a notice, so that the notice would get removed from someone's offline messages after that date instead of taking space in their offline quota.  It would be a lot better for the servers, and also not cap someone with useless outdated notices.  It would also be great to have the option of keeping them out of offline messages in the first place, so that if someone is offline then it would only be sent to their e-mail if they have "offline IMs sent to e-mail" enabled.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...