You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/11/19 14:13:05 UTC

[GitHub] [airflow] ashb opened a new pull request #19710: Speed up webserver start up in Kube tests

ashb opened a new pull request #19710:
URL: https://github.com/apache/airflow/pull/19710


   Thanks to a previous change (https://github.com/apache/airflow/pull/19709) to not load provider hooks too early we can take advantage of the "preload-app" feature of Gunicorn to load the application once in the main gunicorn process before the workers are forked off.
   
   This change makes the webserver start up (time to serving first request) go from 20s to 5s.
   
   (The reason we don't just do this blindly everywhere is that it would mean plugins are loaded at start only, and is a change in behaviour. But in tests this is fine.)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] ashb merged pull request #19710: Speed up webserver start up in Kube tests

Posted by GitBox <gi...@apache.org>.
ashb merged pull request #19710:
URL: https://github.com/apache/airflow/pull/19710


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] ashb commented on pull request #19710: Speed up webserver start up in Kube tests

Posted by GitBox <gi...@apache.org>.
ashb commented on pull request #19710:
URL: https://github.com/apache/airflow/pull/19710#issuecomment-974110555


   (Draft as it depends on #19709 for full effect)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] github-actions[bot] commented on pull request #19710: Speed up webserver start up in Kube tests

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on pull request #19710:
URL: https://github.com/apache/airflow/pull/19710#issuecomment-974163533


   The PR most likely needs to run full matrix of tests because it modifies parts of the core of Airflow. However, committers might decide to merge it quickly and take the risk. If they don't merge it quickly - please rebase it to the latest main at your convenience, or amend the last commit of the PR, and push it with --force-with-lease.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org