Sorry for a long text, but I don't understand what is the difference between results limits and time limits. I got a reply from support telling that the limit is 15 minutes, which means the problem is in our code.
Thinking of a concrete scenario - we make a cloud function call from client app, the cloud function then should create several thousand parse objects, put some connections between them and save all in the DB. Our cloud function uses other helper JS functions defined in different files. It also relies on promises - makes some queries during its work, checks some data, continues processing the data when promises are returned, and so on. Maybe, it will even trigger other cloud functions (not sure if this is the same as calling a plain helper JS function or not). So by result limit (or time limit) do you mean immediate execution of cloud function without all the promises that are triggered? Or maybe all the cloud functions are considered to
respond (you also mentioned response time) in a short period of time taking into account the possible promise it returns?
In general, I would like to understand how much work can I do in a cloud function and also memory limit of it (no need to respond to the caller client). Imagine I created 10000 parse objects in my cloud function, sorted them, copy them, set the relations between them (all in JS memory) and then saved them all to the DB - would that work fine?