MATLAB: What is the retention policy on asynchronous request results in MATLAB Production Server

asynchronousMATLAB Production Servermpsrest

Once the results for an asynchronous request are ready, how long will they remain available to retrieve from the server?

Best Answer

A MATLAB Production Server instance will retain responses to completed asynchronous requests until/unless any of the follow are true:
1) The client deletes the asynchronous request and it’s response after consuming it. For more information refer to the following link:
2) The '--request-timeout' option was configured in the 'main_config' file. Enabling this lets the server delete a completed asynchronous request after the specified time period. For more information refer to the following link:
3) The '--server-memory-threshold' and '--server-memory-threshold-overflow-action' options were configured in the 'main_config' file. Together these options decide when the server will take action on accumulated requests and what that action will be. The server can either purge or archive responses. For more information refer to the following link: