You're viewing help content for version:

As of AEM Communities 6.1, an unique approach has been adopted for handling user generated content (UGC) submitted by site visitors (members) from the publish environment.  

This approach is fundamentally different from the way the AEM platform handles site content that is generally managed from the author environment.  

The AEM platform uses a node store that replicates site content from author to publish, while AEM Communities uses a single, common store for UGC that is never replicated.  

For the common UGC store, it is necessary to choose a storage resource provider (SRP).  The recommended choices are:

One other SRP option, JSRP - JCR Storage Resource Provider, does not support a common UGC store for the author and publish environments to both access.

Requiring a common store results in the following recommended topologies.

Note:

For AEM Communities, UGC is never replicated.  

When the deployment does not include a common store, UGC will be visible only on the AEM publish or author instance on which it was entered.

Note:

For more information on the AEM platform, see Recommended Deployments and Introduction to the AEM Platform.

For Production

Establishing a common store for UGC is essential, and thus the underlying deployment is contingent on its ability to support a common store.

Two examples :

1) If the expected volume of UGC is high and a local MongoDB instance is possible, then the choice would be MSRP.

2) For optimal performance for page content, the choice of a publish farm and ASRP would provide optimal scaling of UGC with relatively straightforward operations.

For both, the deployment may be based on any OAK microkernel.

To choose the appropriate common store, carefully consider the unique characteristics of each.

For more details on Oak microkernals, visit Recommended Deployments.

TarMK Publish Farm

When the topology is a publish farm, relevant topics of importance are

Recommended : DSRP, MSRP or ASRP

MicroKernel SITE CONTENT
REPOSITORY
USER GENERATED CONTENT
REPOSITORY
STORAGE RESOURCE PROVIDER COMMON STORE 
any JCR MySQL DSRP Yes
any JCR MongoDB MSRP Yes
any JCR Adobe on-demand
storage
ASRP Yes

JSRP

Deployment SITE CONTENT
REPOSITORY
USER GENERATED CONTENT
REPOSITORY
STORAGE RESOURCE PROVIDER COMMON STORE 
TarMK Farm (default) JCR JCR JSRP No
Oak Cluster JCR JCR JSRP Yes
for publish environment only

For Development

For non-production environments, JSRP provides simplicity in setting up a development environment with one author instance and one publish instance.

If choosing ASRP, DSRP or MSRP for production, it is also possible to setup a similar development environment using Adobe on-demand storage or MongoDB.  For an example, see HowTo Setup MongoDB for Demo.

References

  • User Synchronization
    Discusses scynchronization of user data among publish farm instances.
  • Managing Users and User Groups
    Discusses the roles of users and user groups in the author and publish environments.
  • UGC common store
    Describes the storage of community content separate from site content
  • Node Stores and Data Stores
    Basically, site content is stored in a node store.  For Assets, a data store can be configured to store binary data.  For Communities, a common store must be configured to select the SRP.
  • Storage Elements in AEM 6.3
    Describes the two node storage implementations : Tar and MongoDB.

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy