Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

aem author to author content replication for sync

Avatar

Level 2

Hi,

 

We are looking at available solutions to sync two author instances and one of the option we thought of using author to author replication.

Can we use this option to sync content between two instance? will this option have any implications on the performance or security?

any inputs would be great.

 

Thanks 

1 Accepted Solution

Avatar

Correct answer by
Level 10

@sayabannatole  I would suggest to use Grabbit for migrating/ syncing content between two instances. It's much faster and robust.

Replication would have performance issues with so many nodes to be replicated at the same time and would slow down the instances.

https://github.com/TWCable/grabbit

 

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

@sayabannatole  I would suggest to use Grabbit for migrating/ syncing content between two instances. It's much faster and robust.

Replication would have performance issues with so many nodes to be replicated at the same time and would slow down the instances.

https://github.com/TWCable/grabbit

 

Avatar

Level 2

Hi @shelly-goel  Thanks for your response i will definitely have a look at using Grabbit. My concern about using author to replication is still workable option right , barring the performance issues which can be accommodated with enough resources on both instances? 

Avatar

Level 10
Conceptually it can be done though performance would not be good with tree replication (can be better with more compute resources). You can rather create a content package, download and install on another instance.

Avatar

Employee Advisor

There is no problem in using author replication agent, but it is an additional overhead to production author when each page is published. You can use the below flow chart to select the right method for content synchronisation.

 

Screenshot 2020-12-19 at 18.37.15.png

 

 

Pros and cons of each method is depicted as below. 

Screenshot 2020-12-19 at 18.37.37.png

Hope this helps to select the right approach for you.

Avatar

Level 2

Hi @Nirmal_Jose 

 

Thanks for the clarification, couple of things i have observed for two of the options i.e in case of backup/restore if there's a segment error in source then it will get carried over as part of sync to target..in case of vlt-rcp the sync fails occasionally due to unknown reasons and needs to remove the mapped path and resync everything from the beginning

Avatar

Employee Advisor
Yes, indeed. Whatever we do, we need to create repeatable infrastructure as much as possible. Backup and restore can be as simple as a crx-quickstart folder zipped and copied over OR if a cloud infrastructure in AWS, use a snapshot of the ec2 instance. Using replication, there are various other scenarios like a) JCR properties/status show related to replication will be shown incorrect are not relevant. b) Unless published, we won't see the content