I have a rather complex data base structure on which I need to enable users to define various reports and run them in the background. (As the generation time might exceed what is acceptable real-time.) I want to enable users to launch the generation of these reports and then get a notification when the report is done and ready for download. I am on Google App Engine python / Cloud SQL.
1. What are my architectural options to achieve this? What is the recommended setup?
2. How can I ensure that background report generation is done with lower priority than real time page requests, to make sure that background report generation jobs will not degrade primary user experience?
Thank you.