• 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
    • Task
    • Performance review & optimization for VW4 on XF

    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: Performance review & optimization for VW4 on XF

    • Issue Tools
      • View Changes
    1. issueid=3558 February 1, 2014 8:58 AM
      Alfa1 Alfa1 is offline
      Distinguished Member
      Performance review & optimization for VW4 on XF

      It would be very useful if you could review VW performance on XF and optimize it where possible. VW4 should be able to handle millions of users.
    Issue Details
    Issue Number 3558
    Issue Type Task
    Project VaultWiki 4.x Series
    Category General
    Status Closed (Merged)
    Priority 1 - Security / Login / Data Loss
    Target Version 4.0.0 Gamma 1
    Resolved Version (none)
    Milestone VaultWiki 4 Gamma X
    Software DependencyAny
    License TypePaid
    Votes to perform 0
    Votes not to perform 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. February 6, 2014 1:42 PM
      pegasus pegasus is offline
      VaultWiki Team
      This is the main issue, and I've just solved it today: https://www.vaultwiki.org/issues/1607/
      Reply Reply  
    2. February 7, 2014 10:09 AM
      pegasus pegasus is offline
      VaultWiki Team
      While the performance benefit is negligible on small wikis (like this site - although I still noticed ~1 MB less usage on some pages), for very large wikis the savings are huge, as detailed in the link above. It is unlikely that further savings can be had for larger result sets (1 million rows would still use 100 MB in memory), but the link also talks about selective fetching that could be used on such sets.

      I have also added Judy support to the router with respect to that same issue. Even though Judy is supposed to be the end-all when it comes to array memory management, it seems my implementation above is still about 10% more efficient than when Judy is used. This might be due to the fact that Judys cannot be serialized. After using a hybrid implementation, it seems that the overhead of creating a Judy object exceeds that of creating an SplFixedArray when the number of elements is fixed at a small amount (in this case 4). In this case, Judy should only be used for arrays where the total number of elements is not known to be a small amount.

      We can probably find array optimizations like this in other places throughout the wiki. The cache used by the fetcher is probably another prime place for Spl or Judy.
      Reply Reply  
    3. February 13, 2014 6:25 PM
      pegasus pegasus is offline
      VaultWiki Team
      Here is the secondary issue. If you thought the last one was crazy, look here: https://www.vaultwiki.org/issues/2696/

      I'm closing this issue for now. It's unlikely (m)any performance improvements will be unique to the XenForo version, and as you can see with the aforementioned issues, we have been mindful of portions of the program that are most cumbersome and research and we do resolve them as necessary and as development time permits.

      If there is a specific part of the program you think needs review please report that part specifically (e.g. you posted about file includes in another report, which we broke down to investigate how the count builds up). If it can be optimized at all, we will do our best to find a solution.
      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 2:23 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 © 2023 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2023 DragonByte Technologies Ltd.
    Copyright © 2008 - 2013 VaultWiki Team, Cracked Egg Studios, LLC.