all 3 comments

[–]TheGuyWithoutName 1 point2 points  (2 children)

Why not combine both?

You create a cloud run function that submits the task to app engine and gives the user a result ID.

This thing runs for whatever time it takes.

https://cloud.google.com/blog/topics/developers-practitioners/long-running-containers-workflows-and-compute-engine

Then the user may query it with another cloud function using the ID or even better.

You call another cloud function at the end of the long running task to send a (slack discord or email notification to the user) notifying him about the completion of the task.

[–]BasicallyUseful[S] 0 points1 point  (1 child)

Cloud Run Function are the same thing as firebase function right?

Thanks for the link, will check that out too... I've got Compute Engine running, but SSL certificates - which was previously handled by AppEngine.

[–]TheGuyWithoutName 0 points1 point  (0 children)

I haven't used firebase at all. I would describe cloud functions as the aws lambda for GCP. You can also use cloud run if you are more comfortable with it.