DiggidyDave commented on issue #9190: [SIP-39] Global Async Query Support
URL: 
https://github.com/apache/incubator-superset/issues/9190#issuecomment-594104055
 
 
   Those are valid points, but quick alternative solutions:
   - The latency tolerances we are talking about here are "fluid".  Polling can 
initially be sub-second and backoff as execution time increases... someone 
waiting for a 10 minute query isn't going to notice 1-2 seconds of poll 
interval.
   - inactive tabs can be rolled into batch polling with ephemeral (not 
structural) `localStorage` to let only the active tab poll for a batch of 
active queries... polling operations should be very lightweight on the server 
side and lean heavily on cache.
   
   Like I said, I agree websockets will work. I'm just afraid it will cause a 
lot of complexity, instability, and will cause reduced adoption, in exchange 
for little or no benefit over simpler approaches.

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

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

Reply via email to