Performance Recommendations

This section contains recommendations and tips on how to improve the performance of programs that use the RPM Web Services.

  1. Ensure that the server operating the RPM Web Services is at near proximity of the RPM Database Server.
  2. When calling the load and save methods, the scope should be restricted to necessary relationships.
  3. When loading objects using XPath, queries can generate large result sets, therefore, it is not recommended to load more than 100 objects per request. Hence, the recommendation to use XPath conditions as it reduces the load of information.
  4. Save multiple objects per call.
  5. Before calling the save methods, remove any unused relationships between the objects which are being saved by setting their values to null.
  6. The number of objects that can be loaded or saved per call is restricted by the server's Random Access Memory (RAM), therefore, it is not recommended to save more than 100 objects per call.