You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think there's a way to cut down deployment time by like 20-30 mins. Mozart instance creation depends metrics creation but it doesn't really need it until half way through when it's running sds commands. I don't know why it depends only on metrics and not factotum or grq because it runs the same sds commands for those boxes too. In the same vein, install_pcm_and_pgenull_resource depends on mozart but all it needs is for the EC2 to be up. But mozart instantiation has a bunch of remote-execs that are part of the EC2 creation so install_pcm_and_pge doesn't kick in until ALL mozart services and files are installed which is not necessary. So I think these are the false, unnecessary dependencies we have in our terraform.
So if we break out all the remote-execs of Mozart and Metrics into one null_resource instead then the other subsequent (mozart creation and install_pcm_and_pge) can run much earlier and run in parallel - which is how terraform is supposed to work.
The text was updated successfully, but these errors were encountered:
Checked for duplicates
Yes - I've already checked
Alternatives considered
Yes - and alternatives don't suffice
Related problems
No response
Describe the feature request
I think there's a way to cut down deployment time by like 20-30 mins. Mozart instance creation depends metrics creation but it doesn't really need it until half way through when it's running
sds
commands. I don't know why it depends only on metrics and not factotum or grq because it runs the samesds
commands for those boxes too. In the same vein,install_pcm_and_pge
null_resource
depends on mozart but all it needs is for the EC2 to be up. But mozart instantiation has a bunch of remote-execs that are part of the EC2 creation soinstall_pcm_and_pge
doesn't kick in until ALL mozart services and files are installed which is not necessary. So I think these are the false, unnecessary dependencies we have in our terraform.So if we break out all the remote-execs of Mozart and Metrics into one
null_resource
instead then the other subsequent (mozart creation andinstall_pcm_and_pge
) can run much earlier and run in parallel - which is how terraform is supposed to work.The text was updated successfully, but these errors were encountered: