문제

I want that for first request data come from Bigquery and dumped into cloudSQL and for second request from the same user for the same query.Data will be displayed from cloud SQL.How i can make this possible in a web application hosted on GAE.

도움이 되었습니까?

해결책

The solution for this type of problem is.Create Cron job on GAE.this cron job will pull data from big query and insert it into CloudSQL.Always show the data to user by Querying CloudSQL.

It is advised to assign some Version ID to records when a cron job run.It is required because if we run the cron job next day then there will be possibility of duplicate records.So when next day/next time cron job run,It will truncate data with a particular version id and then insert the data in clodSQL with new version id.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top