ldealmei opened a new issue #14392:
URL: https://github.com/apache/airflow/issues/14392


   <!--
   
   Welcome to Apache Airflow!  For a smooth issue process, try to answer the 
following questions.
   Don't worry if they're not all applicable; just try to include what you can 
:-)
   
   If you need to include code snippets or logs, please put them in fenced code
   blocks.  If they're super-long, please use the details tag like
   <details><summary>super-long log</summary> lots of stuff </details>
   
   Please delete these comment blocks before submitting the issue.
   
   -->
   
   **Description**
   The `Variable` feature caused us some issue because of the performance 
impact it can have if badly used. See 
[here](https://issues.apache.org/jira/browse/AIRFLOW-29).
   To a rather new user, it is not obvious that how the DAG is written can have 
a considerable impact in executing it.
   In our case we were generating 100s of tasks each using `Variable.get` in 
its configuration, making loading the Dag extermely slow (and timeout).
   
   **Use case / motivation**
   
   Our suggestion would be that emphasis is put in the docs in the 
Concept/Variables section of this coupling between how Variable is used and 
performance/stability.
   
   
   **Are you willing to submit a PR?**
   
   I'll try to suggest something.
   <!--- We accept contributions! -->
   
   **Related Issues**
   
   https://issues.apache.org/jira/browse/AIRFLOW-29
   
   https://github.com/apache/airflow/issues/1380
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to