The Carmen API performs synchronous computation all along its processing: metrics retrieval, creation of IF manifest file, call to IF, parsing of the output and generation of the response.
In case of high cardinality of the topology provided in input (too many data to be retrieved/computed), it can lead to RTOs.
A solution would be to move the API computation to an asynchronous model: Carmen would reply first, providing a path to retrieve the output once done, and then perform the computation and generate the report.
The Carmen API performs synchronous computation all along its processing: metrics retrieval, creation of IF manifest file, call to IF, parsing of the output and generation of the response.
In case of high cardinality of the topology provided in input (too many data to be retrieved/computed), it can lead to RTOs.
A solution would be to move the API computation to an asynchronous model: Carmen would reply first, providing a path to retrieve the output once done, and then perform the computation and generate the report.