Improve the deletion performance by tuning the following 2 parameters in /etc/caringo/cloudgateway/gateway.cfg
RecursiveDeleteMaxThreads recursiveDeleteMaxThreads – Recommended is 200 with a default of 75. ( this will depend on the current cpu usage of your elasticsearch cluster ).
MaxConnections – Recommended is 500 with a default of 200.
...
Note
If an error “504 gateway timeouts from Swarm” encountersduring testing, increase the SSL offloader client and service-side timeout to 300 seconds (or 5 minutes).