ÃÛ¶¹ÊÓƵ

SRP - Community Content Storage srp-community-content-storage

Introduction introduction

As of AEM Communities 6.1, user-generated content (UGC) is stored in a single, common store provided by a storage resource provider (SRP). There are several SRP options from which to choose, such as ASRP, MSRP, and JSRP.

Unlike prior releases, there is no reverse/forward replication of UGC across AEM instances. Instead, the SRP makes UGC directly accessible for create, read, update, and delete (CRUD) operations from all author and publish instances, with an exception for JSRP.

Following are the characteristics of each SRP option, which is crucial information for the decision process when choosing the appropriate SRP and underlying deployment.

For details regarding the use of SRP for UGC, see Storage Resource Provider Overview.

NOTE
SRP applies only to community content. It does not affect where site content is stored (node store), and does not affect the secure handling of user registration, user profiles and user groups between AEM instances (see also Managing User Data).
CAUTION
As of AEM 6.1, UGC is never replicated.
When the deployment does not include a common store, such as the default JSRP topology, UGC will be visible only on the AEM publish or author instance on which it was entered. Only if the topology includes a publish cluster will the UGC be visible on any publish instance.

Characteristics of SRP Options characteristics-of-srp-options

ASRP - ÃÛ¶¹ÊÓƵ Storage Resource Provider

With this option, the UGC is persisted remotely in a cloud service hosted and managed by ÃÛ¶¹ÊÓƵ. It requires an additional license and working with an account representative to provision the account for that specific license. ASRP requires:

  • An associated cloud service provided and supported by ÃÛ¶¹ÊÓƵ to store community content.

  • Choice of a datacenter in a specific geography (U.S., EMEA, APAC).

  • All programmatic access to UGC be through the SRP API.

ASRP is suitable:

  • For TarMK publish farm.
  • When there is no intent to invest in local storage.
NOTE
There is a limit to uploading attachments to posts (or comments) in ASRP, which is 50 MB.

MSRP - MongoDB Storage Resource Provider

With this option, the UGC is persisted directly in a local MongoDB instance.

MSRP requires:

  • A local, licensed install of MongoDB to store community content.
  • A local install of Apache Solr.
  • All programmatic access to UGC be through the SRP API.

ASRP is suitable:

  • For an existing TarMK publish farm.
  • For a MongoMK or RdbMK cluster.
  • When expecting large volumes of community content.

DSRP - Relational Database Storage Resource Provider

With this option, the UGC is persisted directly in a local MySQL database instance.

DSRP requires:

  • A local install of MySQL to store community content.
  • A local install of Apache Solr.
  • All programmatic access to UGC be through the SRP API.

DSRP is suitable:

  • For an existing TarMK publish farm.
  • For a MongoMK or RdbMK cluster.
  • When expecting large volumes of community content.

JSRP - JCR Storage Resource Provider

With the default option, there is no common store. The UGC is persisted only in the same JCR repository as the AEM instance in which it was entered.

JSRP:

  • Stores community content in the JCR repository of the AEM author or publish instance to which it was posted.
  • Requires all programmatic access to UGC be through the SRP API.
  • Requires a publish cluster if more than one publish instance is deployed (there is no replication mechanism among publish instances in a TarMK farm).
  • moderation is performed only in the publish environment (there is no reverse/forward replication mechanism between author and publish).
  • Is best for development, demonstrations, and training.

Configuring SRP configuring-srp

Specifying the default storage option, based on the underlying deployment, is made through the Storage Configuration console.

For configuration details of each option, see:

If no storage option is actively selected, JSRP is enabled by default.

Additional Information additional-information

UGC Never Replicated ugc-never-replicated

In the author environment, an author creates page content and replicates it to the publish environment. When a page includes an interactive AEM Communities feature, such as comments, reviews, forum, blog, or QnA, the interaction by members (signed in site visitors) on a publish instance results in user generated content (UGC) entered in the publish environment.

Previously, this community content was reverse replicated to author instances and from author replicated to publish instances. It was problematic to maintain consistency among AEM instances with reverse and forward replication.

Beginning with AEM Communities 6.1, the need for replication of UGC has been eliminated by using shared storage for UGC, as described above.

While site content is replicated, UGC is never replicated.

Managing User Data managing-user-data

Also of interest to CommunitIes are users, user groups, and user profiles. This user-related data, when created and updated in the publish environment, needs to be made available to other publish instances when the topology is a publish farm.

As of AEM Communities 6.1, user-related data is synchronized using Sling distribution instead of replication. For more information visit User Synchronization.

Upgrading to AEM Communities 6.5 upgrading-to-aem-communities

When upgrading to AEM 6.5 Communities, if pre-existing UGC needs to be retained, then steps should be taken depending on whether the AEM 5.6.1 or AEM 6.0 community used ÃÛ¶¹ÊÓƵ on-demand storage or on-premise storage of UGC.

For details, visit Upgrading to AEM Communities 6.5.

recommendation-more-help
81e2cd9d-0789-409d-b87c-2a8ce4f28791