Architecture
Google Cloud Run vs Fly
Why we chose Google Cloud Run instead of Fly
Fly doesn’t support auto-scaling down to 0 instances and is far more expensive. A server running 24/7 with an open database connection to Neon will use the corresponding compute time.
Google Cloud Run supports scaling down to 0 instances and scaling up when requests come in, resulting in no unnecessary open database connections and saved Neon compute time.
The downside is that there can be an initial cold server startup time for Google Cloud Run.