villebro edited a comment on issue #10139:
URL: 
https://github.com/apache/incubator-superset/issues/10139#issuecomment-649002019


   Good idea to use some form of exponential or other backoff. However, perhaps 
leverage `backoff`, as it's already in the python deps. If Presto can handle 
shorter polling intervals, why not. But that discussion needs to be resolved on 
`PyHive`. @bkyryliuk thoughts?
   
   Having said all this, while unnecessary waiting should be avoided, I'm 
personally of the inclination OLAP-type queries are ok to take a few seconds. 
As I expect people will tend to be hitting fairly expensive queries through SQL 
Lab, waiting for a few seconds for something that completed in 0.1 seconds, and 
conversely waiting 32 seconds for something that took 30.1 seconds, usually 
isn't that big a deal for me. Especially if it can spare a busy db some 
unnecessary load.


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



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to