For enhanced performance and efficiency in handling federated repository events, you might consider adjusting these values:
- Configuration Threads:
- Increase artifactory.federated.max.config.threads to 10 to enhance the processing of changes in repository configurations. This is relevant for propagating changes across member repositories in large setups where the number of members in a federated repository exceeds the default value of 5. This ensures that updates to all members are made in parallel without delays.
- Total HTTP Connections:
- Increase to artifactory.federated.repo.max.total.http.connections=100 to allow more concurrent connections for sync.
- Threads Percentage (Artifactory versions below 7.71):
- Raise to artifactory.federated.repo.max.threads.percent=15 to allocate a higher proportion of Artifactory's task queue to federation events.
- Maximum Threads Count (Artifactory versions starting from 7.71):
- Raise to artifactory.federated.work.queue.maxPoolSize=18 to allocate a higher amount of threads of Artifactory's task queue to federation events.
- Executor Pool Queue Size:
- Expand to artifactory.federated.repo.executor.poolMaxQueueSize=30000 to accommodate a larger queue of pending tasks, minimizing potential bottlenecks during peak loads.
artifactory.federated.max.config.threads=5 artifactory.federated.repo.max.total.http.connections=50 artifactory.federated.work.queue.maxPoolSize=12 artifactory.federated.repo.executor.poolMaxQueueSize=10000
Tuning:
To further optimize, consider increasing these values and closely monitor both the federation and instance performance:
artifactory.federated.max.config.threads=10 artifactory.federated.repo.max.total.http.connections=100 artifactory.federated.work.queue.maxPoolSize=18 artifactory.federated.repo.executor.poolMaxQueueSize=30000