potiuk commented on issue #19251:
URL: https://github.com/apache/airflow/issues/19251#issuecomment-953090374


   Yep. I also thought this might be a good idea. I often found that things 
would be simpler this way, and there is a huge potential of optimizing the 
traffic to secret backends. I tihnk the ratio of "secret" variables vs. 
"non-secret ones"  are like 1-100 and seems that we have to pay the price of 
roundtrip to secret backends every time we access it. Of course, we then have 
to go to DB instead, but if the secret backend does not contain the variable we 
do it anyway, so we can save a lot by adding a context "this variable is not 
supposed to be looked up in context" 
   
   @kaxil  - WDYT ? I think you were the master-mind behind the secrets 
implementation, do you see any obvious problems with this approach ? I cannot 
see any "bad scenario" here.


-- 
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: [email protected]

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


Reply via email to