Updating global dataframe periodically

@chriddyp i wonder how can i apply mysql instead of redis in the example you gave. any hint?