kaxil edited a comment on issue #5743: [AIRFLOW-5088][AIP-24] Persisting 
serialized DAG in DB for webserver scalability
URL: https://github.com/apache/airflow/pull/5743#issuecomment-527411119
 
 
   > How about instead of a background thread (I'm wary of using threads in 
python) could we instead query the last modified time of the serialised dag on 
each request?
   > 
   > i.e. when asking for dag X we check if dag X has been updated in the db 
since we last loaded it?
   How about this -> 
https://github.com/kaxil/airflow/commit/d2ec5371ae987ff87f60ee6b0143eb66dd5dc1e7
 , 
https://github.com/kaxil/airflow/commit/399dd656427e5d46e863fc2e7c0dda3b788fd8ed
 , 
https://github.com/kaxil/airflow/commit/c6a53b34b372466bf1a6a6f906d736284a115f55?
   
   cc @coufon 

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


With regards,
Apache Git Services

Reply via email to