My use case for parse is to do several api calls to chatgpt which can take anywhere from 1 sec to 30 seconds. Alex from Back4App had a video saying external apis in cloud code should be avoided because the response wait time can impact performance.
So Ive been potentially designing a system with 2 servers, one to handle secure, long running api requests and then parse server to handle crud operations.
But I was wondering if cloud jobs can do the job already. So if i want to call a long running api request, would it be wise to wrap it in a job and call the cloud job and that wouldnt slow down my other crud operations? If so, would it be wise to call a job from a cloud function (the docs seem to say jobs use http requests, so using a http request from cloud code to a cloud job…is that weird?). Then id subscribe to updates.
If im using jobs, if there any information on how it manages server resources? Id assume the server queues the requests until it can execute but i didnt see any documentation.