I have my laravel project hosted in vultr (Ubuntu OS), provisioned and managed by forge. The runtimes for the jobs completed usually ranges from less than a second to 10 seconds and that is the expectation.
I now created an Ubuntu Virtual Machine in Azure and installed the necessary stack I need (e.g Nginx, PHP8.2, Composer, Redis,) to run laravel horizon but I am now getting runtimes that are either less than a second up to 10 seconds and the other range is (940-950) seconds. I don't know why job took that long time to be completed.
I also tried Importing the Azure Ubuntu VM to forge via custom VPS option and I am having the same issue.
Hoping that someone can share their insights to this problem
This could be a few things, could it be specs of the machine/VM, could be the configuration of the VM (priority). This is all assuming you are using the same codebase/job/data for each test.
I'm not super familiar with Azure though. Are they using the same PHP versions? Server specs match? How many workers are running, do they match between Vultr <> Azure? Did you use Forge to setup the Azure VM (could be something Forge is configuring on the first server that makes the difference)?