Hi,
We do have customized AEM asset portal that uses shared S3 datastore. While replicating assets in bulk amount(600 assets) from author to publish via binary-less replication we have observed that publisher becomes unresponsive and start giving oops page(Error : 500). Publisher automatically recovered when replication queue items reduced. For instance, within 30 sec. author makes around 300-400 POST request to publisher to publish the assets. Also publisher makes request to dispatcher flush to clear cache from dispatcher. Sometimes we observed around 1500+ items in replication queue which makes publisher unresponsive.
How we can increase throughput of binary-less replication?
Is there any way to make replication in chunks or batches?
How we can tune-up our publisher to handle bulk request?
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
your scenario is not really clear to me. I understand that you are replicating hundreds of assets in bulk and that during that time the publish instance is unable to respond to other incoming requests.
Let me comment some of your statements:
If you can answer these questions we can help you further.
Jörg
Hi,
your scenario is not really clear to me. I understand that you are replicating hundreds of assets in bulk and that during that time the publish instance is unable to respond to other incoming requests.
Let me comment some of your statements:
If you can answer these questions we can help you further.
Jörg
Hi Jorg,
Your understanding is correct. We have one Author and one Publish instance sharing S3 datastore.
Views
Replies
Total Likes
Thanks for the confirmation. I doubt that in your case the S3 datastore has something to do with it at all, because just the asset binary is stored in S3, and just iterating over the node and reading metadata will not trigger any read from S3.
The fact, that you do this via a single scheduled job, makes me think that only a single thread is involved, which should not cause a problem at all on publish side. The upgrade from 6.3 to 6.5 also shouldn't cause this, but of course this makes me think that some configuration went wrong during that upgrade. Can you check that the Asset Update workflow is not triggered on publish? Also, are you sure that the load pattern has not changed between 6.3 and 6.5; otherwise you are looking for issues in the code/configuration with 6.5, but the problem is the (amount of) data you are processing, and it would have affected 6.3 the same way as it affects now 6.5.
Jörg
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies