nou nou wrote: ↑Sun May 12, 2024 1:12 pm
Stress test today - I launched a prompt to @Midjourney @Stable Diffusion @DALL-E @Pika at the same time.
I got this in my own post so all good there:
Screenshot 2024-05-12 150232.png
DALL-E and Midjourney came back with an image, Stable Diffusion and Pika never arrived. I did the same prompt again with Stable Diffusion and Pika and they came back fine.
Possibly/probably a concurrent connections issue?
There were no error messages anywhere though - not sure if something could be done about that?
Midjourney and Pika use callbacks/webhooks to receive results and updates from the useapi.net API. They do not keep the server connection open once the initial POST job submission is completed. All other bots will execute the POST and receive results right away. However, POSTs to most AI APIs (especially OpenAPI) can take up to 3 minutes. Gemini is the fastest among them, and Claude is somewhere in the middle. Therefore, for these, the web server connections will be kept open.
I'd imagine having extra 5-6 web server connections open should not make any difference but I guess it depends on you particular hosting/web server config.