Skip to content

Migrate movie rater from heroku to GCP

Sing edited this page Sep 2, 2023 · 3 revisions

Background

Heroku costs $5 USD per month. We're considering migrating to GCP or AWS at no additional charge.

Problem & Solution

Background job execution issue

The free version of Google Cloud Run doesn't consistently allocate CPU resources, resulting in background job execution problems. To address this, we can employ google_cloud_run_v2_job. However, certain existing background jobs utilize memory within the main application. We must transfer this memory to the database (possibly using Firebase or free Redis).

Clone this wiki locally