[ 
https://issues.apache.org/jira/browse/AIRFLOW-2614?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ash Berlin-Taylor updated AIRFLOW-2614:
---------------------------------------
    Fix Version/s:     (was: 2.0.0)
                   1.10.4

> Airflow trigger_run API is very slow
> ------------------------------------
>
>                 Key: AIRFLOW-2614
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-2614
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: DagRun
>    Affects Versions: 1.9.0, 2.0.0
>            Reporter: raman
>            Assignee: Mishika Singh
>            Priority: Major
>             Fix For: 1.10.4
>
>
> Current implementation of trigger_dag processes all Local dag files 
> sequentially before creating a DAG run. Its done inside trigger_dag function 
> in trigger_dag.py
> "def trigger_dag(dag_id, run_id=None, conf=None, execution_date=None):
>  dagbag = DagBag()
> ....."
> Processing all the files to get the dagBag slows down the trigger_dag api and 
> increases latency. We have observed that it starts taking 10(s) of seconds as 
> number of Dag Files increase. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to