Is it possible to run fully on sync?
All the async functions and webhooks are so much pain, can we just fully run on sync?
8 Replies
Sync isn't fully sync unless your job can complete within a certain time, I think its 60 seconds or something like that.
Then you have to poll to get the results after that.
I see, so polling is the only way then?
I don't know if I'm in the wrong or the webhook are just too much pain and unreliable, is it me or the webhook?
Whats wrong with using webhooks?
sometimes it kinda unreliable, so we never got the response, and as per our current code base it will be so much easier to work with sync endpoints
Yeah @flash-singh suggested that I switch my endpoint over to using webhooks as well because I poll for the status and my IPs were getting rate limited, but I am also having issues where jobs get stuck on IN_PROGRESS indefinitely and I am currently cancelling them automatically if they don't complete within 5 minutes because the TIMED_OUT thing on RunPod doesn't seem to be functioning correctly, but with a webhook, my job will just be stuck and I won't know about it unless I introduce some kind of database and track the requsts and the time taken to complete etc.
It would be great if RunPod could just fix that issue where jobs get stuck on IN_PROGRESS forever, then we can use webhooks with confidence and not have to worry about stuck jobs.
has that happened again since? if so can you share request id, so far im not able to reproduce the edge case
Nope, just happened over the weekend when my jobs were getting stuck on IN_PROGRESS, and also when I was getting a high percentage of failed jobs, everything has been fine since Tuesday. I tried to chat to the web chat to get a refund because my serverless costs escalated for 24, 25, 26Feb before everything settled on 27Feb, but they were demanding logs and things that I don't have 😢
just share stuff in your billing / severless stats