Archiving should trigger limited number of concurrent requests #5035
Labels
c: Performance
For when we could improve the performance / speed of Matomo.
Major
Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Task
Indicates an issue is neither a feature nor a bug and it's purely a "technical" change.
Milestone
Currently if there are eg. 20 custom segments to generate for a given website, the auto archive command core:archive will trigger 20 concurrent requests to the API.
This can result in some of these requests failing. Instead we should only process at the same time a max count of requests, so that we don't overload the server.
This change will result in better performance of archiving and more reliability when there are many custom segments to pre-process.
The text was updated successfully, but these errors were encountered: