This project is not covered by Drupal’s security advisory policy.

This provides a potentially faster and/or more efficient implementation of the og space type plugin. The implementation included in this module is an extension of the spaces_og module, not a replacement for it.

This module can improve performance when using spaces_og by delaying a node_load on the space's group node until it is required. In addition, the nid property is stored directly and the og_private property is made available via a direct query, avoiding node_load entirely in the case that these are the only properties required on the space's group node object. Depending on implementation details, this may provide a performance boost.

Note that while this project can improve performance for some implementations, it is not without side-effects (which is why it is not simply a patch to the spaces_og module) thus I encourage you to thoroughly test and benchmark it for your specific use-case before using it in a production environment. In our use-case, performance improvements varied based on the user's role with a reduction of 5-10% peak RAM usage, 15-25% CPU time and 20-30% wall time.

Project information

  • Created by pdrake on , updated
  • shield alertThis project is not covered by the security advisory policy.
    Use at your own risk! It may have publicly disclosed vulnerabilities.

Releases