I know I can mount GCS to cloud run, but can I mount block storage (I think its called Persistent Disk on GCP) on cloud run?
Not today.
If we were to make this available, what would you use it for?
I am developing a game and I would like to store & edit the players' save files in the cloud. I thought about GCS but I cannot edit the file without downloading it first then uploading it back again, which will be very costly if there were frequent uploads. I could use a file storage but I have heard that block storage can be accessed faster and is more scalable.
So the process is something like this:
Thank you, that's super helpful!
Reading this, what comes up for me is - would using a database work better here? I'm not really sure what goes in these files though.
Block storage is not more scalable in that even in GCE, only 1 VM can typically access a GCE Persistent Disk.
Thanks for the reply.
Using files (or file-based databases like SQLite) is more convenient in my case because, in some cases, I need to transfer the whole file from the cloud to the player's device, or the opposite: for the player's device to the cloud.