This is a question about AEM Update Asset Metadata endpoint.
We do have about 1,665,384 assets in AEM. We have been trying to update 4 or 5 metadata values using the update asset metadata endpoint. The endpoint is so slow. Does anyone know why the endpoint is so slow? or What the endpoint does?
Updating 4 or 5 metadata values for about 700,000 assets.
Each Update Call Time Taken: about 3 or 4 minutes. The endpoint gets slower when updating more assets.
Assets Updated: 1000 assets per hour
When one thread is used, each Update endpoint call takes about 1 or 2 seconds. When 25 threads are used, each call takes about 30 seconds. When 100 threads are used, each call takes about 100 seconds and the more assets gets processed, it gets slower and slower. Looks like the endpoint is processing the request sequentially.