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.
For details regarding the use of SRP for UGC, see Storage Resource Provider Overview.
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.
ASRP - Adobe Storage Resource Provider
With this option, the UGC is persisted remotely in a cloud service hosted and managed by Adobe. It requires an additional license and working with an account representative to provision the account for that specific license.
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.
DSRP - Relational Database Storage Resource Provider
With this option, the UGC is persisted directly in a local MySQL database instance.
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.
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.
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.
Also of interest to Communites 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.
When upgrading to AEM Communities 6.3, 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 Adobe on-demand storage or on-premise storage of UGC.
For details, visit Upgrading to AEM Communities 6.3.