My app(Flask + Bokeh server + IIS) has to retrieve data from database which is often changed. How could I get the latest dataset from database?
- to setup a thread to check
- or directly retrieve data when each session is launch
currently, I have to get data by using methods, which is fine, but, the website performance is for sure affected.
Could some one give me a clue? thanks a lot