Getting In-Depth with Backup My Org's MAX_CONCURRENT_FETCH
Purpose: This article explains the MAX_CONCURRENT_FETCH property in the nodeconfig.json file for Backup My Org, its implications on system performance, and how to configure it appropriately based on various factors.
What is MAX_CONCURRENT_FETCH?
MAX_CONCURRENT_FETCH is a parameter in Backup My Org’s nodeconfig.json configuration file that controls the number of simultaneous fetch operations can be executed. Adjusting this parameter helps manage CPU utilization by balancing the CPU load from being overloaded. It also helps with network performance during backup and restore operations.
Default Setting
Default Value: 5
Possible Range
Minimum Value: 1
Maximum Value: 20
Considerations for Configuration
CPU Utilization
Monitor the CPU utilization on both the Backup My Org server and the Enterprise server.
If CPU utilization is consistently low, you can consider slightly increasing
MAX_CONCURRENT_FETCH.If CPU utilization on either the Backup My Org server or the Enterprise server plateaus at 100%, it indicates that the server is fully/over utilized, and should reduce
MAX_CONCURRENT_FETCHto avoid overloading the system.
Network Errors
Frequent 504 Gateway Timeout errors or other network-related issues can indicate that
MAX_CONCURRENT_FETCHis set too high.In such cases, lower the
MAX_CONCURRENT_FETCHvalue to reduce the load on the network and improve reliability.
Steps to Adjust MAX_CONCURRENT_FETCH
Open the
nodeconfig.jsonfile located in your BMO installation folder
backupmyrorg directory > src > config > nodeconfig.jsonLocate the
MAX_CONCURRENT_FETCHproperty.Adjust the value with consideration to what has been mentioned in this article. (Default: 5, Range: 1 - 20)
EXAMPLE: "MAX_CONCURRENT_FETCH": 10Save the changes to the
nodeconfig.jsonfile.From the Start menu, locate the Services application.
In Services, locate and select Backup My Org and restart the service for the changes to take effect.
Example Scenario
Issue: A user has a large number of errors and/or failures during backup and restore operations.
Solution: Reducing the value for MAX_CONCURRENT_FETCH when…
The CPU utilization on both the Backup My Org server and/or the Enterprise server is consistently high (at/near 100%) on either server.
Frequent network errors occur. Specifically a 504 Gateway Timeout.