Recommended Topologies for Communities recommended-topologies-for-communities
As of AEM Communities 6.1, a 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.
For Production 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:
-
If the expected volume of UGC is high and a local MongoDB instance is possible, then the choice would be MSRP.
-
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 tarmk-publish-farm
When the topology is a publish farm, relevant topics of importance are:
Recommended: DSRP, MSRP or ASRP recommended-dsrp-msrp-or-asrp
JSRP jsrp
For Development 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 references
-
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.
-
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.
-
Describes the two node storage implementations: Tar and MongoDB.