• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
    • Wiki
    • Support
      • Manage Subscriptions
      • FAQ
      • Support For
        • VaultWiki 4.x Series
        • VaultWiki.org Site
    • What's New?
    • Buy Now
    • Manual
    • 
    • Support
    • VaultWiki 4.x Series
    • Bug
    • Vaultwiki Alerts Overkill

    1. Welcome to VaultWiki.org, home of the wiki add-on for vBulletin and XenForo!

      VaultWiki allows your existing forum users to collaborate on creating and managing a site's content pages. VaultWiki is a fully-featured and fully-supported wiki solution for vBulletin and XenForo.

      The VaultWiki Team encourages you to join our community of forum administrators and check out VaultWiki for yourself.

    Issue: Vaultwiki Alerts Overkill

    • Issue Tools
      • View Changes
    1. issueid=4793 November 12, 2016 4:09 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Vaultwiki Alerts Overkill

      While not a real bug (as designed) this issue is quite problematic.

      Vaultwiki uses the XenForo Alerts function. Which is mighty useful in general. But the XF Alert system was never designed to give alerts for edits. In practise this becomes a significant issue because users can make a lot of edits in a row.

      If someone is watching a wiki (which is normal after posting to it) then he/she will receive an alert for every edit made. So if a member makes 50 edits while working on an article then all users watching that article/category will receive 50 alerts from that article alone. Now imagine multiple users editing at the same time or same day before the member logs in.

      For a big board this is a nightmare because its highly annoying for people to get such an avalanche of useless alerts from many members. It has no functional use. Just one alert would suffice to inform the user that a wiki has been edited. Receiving an unlimited amount is really overkill. Its the equivalent of sending 50 subscription alerts or emails in vbulletin.

      On my site we use GoodForNothing Notification which shows Facebook type floating notifications. Combine this with vaultwiki and it becomes unusable.
      I wonder about the overhead of this on a big board.

      I hope that you can see why this is problematic. Maybe some limit of alerts can be implemented to resolve this.
    Issue Details
    Issue Number 4793
    Issue Type Bug
    Project VaultWiki 4.x Series
    Category Subscriptions
    Status Fixed
    Priority 5 - Minor Bugs / Small Tweaks
    Affected Version 4.0.15
    Fixed Version 4.0.16
    Milestone (none)
    Software DependencyXenForo 1.x
    License TypePaid
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. November 13, 2016 9:50 AM
      pegasus pegasus is offline
      VaultWiki Team
      Reducing this effect will require same major changes to the way instant notifications are handled, such as using a deferred task to reduce the effect on big boards and by only sending one alert for each type of change made to the same node until the user visits that node again (or in the case of cookie-based visitor tracking, within a preset amount of time - like 1 hour). I will upload those changes to your test board once they are complete so you can test them for any issues.
      Reply Reply
    2. December 19, 2016 2:57 PM
      pegasus pegasus is offline
      VaultWiki Team
      The issue, as reported, is fixed in the next release.

      Instant notifications are now processed via deferred task. This mitigates performance issues when the update triggering a notification affects a large number of nodes -- 1 discussion, 1 page, up to 12 books, 1 social group (vBulletin), infinite areas, infinite categories, infinite feeds, 1 entire wiki -- and where each affected node may have hundreds or thousands of subscribers.
      1. Update activates deferred task. The IDs of known affected parent nodes are passed to the task.
      2. Deferred task begins. We process one parent-type at a time in order of precedence.
        1. As before, a list of subscribers for all affected nodes of that type is compiled.
        2. We process up to 500 subscribers in a batch (could be lower depending on the actual processing speed). Because of a possible multiplicative effect, this number is fixed; see below.
          1. As before, we determine how many of the affected nodes the user is subscribed to.
          2. We exclude any subscription where a notification was logged within the last 30 days.
          3. As before, we only issue a notification for the closest node with a subscription that would include the update content.
          4. If a notification was sent, we log that a notification was sent for this subscription.


      Visiting the node that the subscription was attached to will clear the log for that subscription, allowing new notifications to be sent. Additionally, if a node was not visited for 30 days, its log will be cleared.

      Even though there are significantly fewer notifications to be sent, moderator notifications have also been moved to a deferred task.

      I will do some more testing locally before I apply the changes at your site. With such massive changes, there is a risk that notifications are sent too often or not at all; due to legal ramifications of either, careful review is needed before roll-out.

      In my opinion, it is worth applying similar throttling to the existing cron jobs for daily and weekly notifications and changing them to deferred tasks when they run, because of similar concerns: when 1 thousand nodes have updates in a week and they all have 1 thousand weekly subscribers, currently all 1 million notifications would be processed in a single batch... I am leaving this report open until this is also resolved.
      Reply Reply
    3. December 19, 2016 5:44 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      This sounds very good to me.
      Reply Reply
    4. December 20, 2016 10:24 AM
      pegasus pegasus is offline
      VaultWiki Team
      I have also:
      - Limited the number of content shown in a daily/weekly email to 10 items per content-type. This resolves a situation where a node with thousands of updates within a week could produce very long (and slow to send) emails.
      - Implemented the XenForo settings that control whether inactive users should receive emails.
      - Implemented the XenForo rules regarding users with a history of bouncing emails.
      - Stopped sending emails to users with unconfirmed email addresses.
      - Stopped sending emails to banned users.
      Reply Reply
    5. December 20, 2016 1:23 PM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Wow. That is very good to have implemented. Its easy to get blacklisted by sending to invalid email accounts.
      Reply Reply
    6. December 20, 2016 2:55 PM
      pegasus pegasus is offline
      VaultWiki Team
      Marking this issue as fixed in the next release.
      Reply Reply
    7. December 22, 2016 11:28 AM
      pegasus pegasus is offline
      VaultWiki Team
      I have uploaded the changes related to this issue to your site. Please check that email notifications and alerts still go out as expected. Since you are using unreleased code, and also since it is always possible that attempts to merge the code with your site produced a bad merge, please report any issues created by this change as new replies to this report, until a real version of 4.0.16 is uploaded to your site.
      Reply Reply
    + Reply

    Assigned Users
    Loading Please Wait
    Tags
    Loading Please Wait
    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 1:57 PM.
    This site uses cookies to help personalize content, to tailor your experience, and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Learn more… Accept Remind me later
  • striker
    Powered by vBulletin® Version 4.2.5 Beta 2
    Copyright © 2025 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
    Copyright © 2008 - 2024 VaultWiki Team, Cracked Egg Studios, LLC.