• Resolved mflc

    (@mflc)


    Wondering if anyone else is experiencing this problem:

    When Gami is installed on the same site as BuddyBoss (a fork of BuddyPress) significant performance issues occur when creating a new BuddyBoss post. It can take minutes for a new post to be created – sometimes causing the server to time out. The issue affects affect BuddyBoss forums with many discussions, but not those with few discussions. This performance problem is so severe that it discourages people from using the site. I

    I know that the issue is related to an interaction with Gamipress because deactivating Gami causes the issue to disappear, and reactivating Gami causes it happen again. I debugged the issue into apply_filters down into a rabbit hole, which triggers many gamipress hooks, but that’s as much clarity as I can provide at this point.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Dioni Sánchez

    (@dioni00)

    Hi @mflc

    Is possible that GamiPress can slow down some process if you have configured several awards.

    For example, the LearnDash integration includes several events based on the quiz completion (if a user completes it, if pass or fails, if a user has completed it with a minimum grade, etc).

    If you configure 20 requirements (points awards, deducts, steps, and rank requirements) it could make the process slow down since GamiPress needs to check if a user is able to earn all of them and also if the user should earn something more (like an extra achievement, or award extra points for something, etc).

    For that, the way you can speed up some process is by reducing the number of requirements that are using this event (for example, if you have 20 achievements looking for the same event, reduce them to 10).

    The GamiPress awards engine is developed to run as fast as possible but is comprehensible that will run slower if is required to perform several checks on a single action.

    There are some improvements you can apply to your database and server but these recommendations are outside the GamiPress support since they are related more to server management and improvement than to GamiPress.

    Please, make them on a staging site first and always consult them to your hosting provider first:

    1) Check all our guidelines about database performance as explained here: https://gamipress.com/docs/advanced/database-performance/
    Note: If you are not sure how to apply them, contact to your hosting provider and send them this document to check this for you.

    2) Clean up GamiPress “Event Trigger” logs from GamiPress -> Tools -> General -> Clean-Up Logs Tool.

    3) Remove the GamiPress points awards or achievements and ranks requirements you don’t truly need (to reduce the number of awards).

    4) Enable Memcached on your server (talk with your hosting team support).

    Thread Starter mflc

    (@mflc)

    @dioni00 Thank you for the quick response. I cleaned up the logs as per your recommendation. I also reset all the settings but it did not improve performance.

    Plugin Author Dioni Sánchez

    (@dioni00)

    Hi @mflc ,

    It was not necessary to reset the settings. In any case, please review the events you have configured in GamiPress. You may have events for post visits or similar that can slow down the website if there are a large number of them.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.